Skip to content

Commit

Permalink
add dirs.SnapSystemKeyFile
Browse files Browse the repository at this point in the history
  • Loading branch information
mvo5 committed Feb 1, 2018
1 parent 1c4018e commit 558ef5b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion dirs/dirs.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,8 @@ var (
SnapTrustedAccountKey string
SnapAssertsSpoolDir string

SnapStateFile string
SnapStateFile string
SnapSystemKeyFile string

SnapRepairDir string
SnapRepairStateFile string
Expand Down Expand Up @@ -201,6 +202,7 @@ func SetRootDir(rootdir string) {
SnapAssertsSpoolDir = filepath.Join(rootdir, "run/snapd/auto-import")

SnapStateFile = filepath.Join(rootdir, snappyDir, "state.json")
SnapSystemKeyFile = filepath.Join(rootdir, snappyDir, "system-key")

SnapCacheDir = filepath.Join(rootdir, "/var/cache/snapd")
SnapNamesFile = filepath.Join(SnapCacheDir, "names")
Expand Down

0 comments on commit 558ef5b

Please sign in to comment.