summaryrefslogtreecommitdiff
path: root/libpod/runtime.go
diff options
context:
space:
mode:
authorLawrence Chan <element103@gmail.com>2019-06-07 12:42:04 -0500
committerLawrence Chan <element103@gmail.com>2019-06-14 17:42:05 -0500
commit373048aaca279c006672b339b099af6e5a87b60a (patch)
tree3c00e6490c111d8ddd7c8da3902895e6cc87d29b /libpod/runtime.go
parent6ea12e302877f7ce1b77d3dafc4d0aa51839840c (diff)
downloadpodman-373048aaca279c006672b339b099af6e5a87b60a.tar.gz
podman-373048aaca279c006672b339b099af6e5a87b60a.tar.bz2
podman-373048aaca279c006672b339b099af6e5a87b60a.zip
Move installPrefix and etcDir into runtime.go
Signed-off-by: Lawrence Chan <element103@gmail.com>
Diffstat (limited to 'libpod/runtime.go')
-rw-r--r--libpod/runtime.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/libpod/runtime.go b/libpod/runtime.go
index c2a387083..34a3ea9c8 100644
--- a/libpod/runtime.go
+++ b/libpod/runtime.go
@@ -45,6 +45,13 @@ const (
)
var (
+ // InstallPrefix is the prefix where podman will be installed.
+ // It can be overridden at build time.
+ installPrefix string = "/usr/local"
+ // EtcDir is the sysconfdir where podman should look for system config files.
+ // It can be overridden at build time.
+ etcDir string = "/etc"
+
// SeccompDefaultPath defines the default seccomp path
SeccompDefaultPath = installPrefix + "/share/containers/seccomp.json"
// SeccompOverridePath if this exists it overrides the default seccomp path