Commit 7c382572 by Stéphane Graber

lxc-ubuntu: Don't hardcode path to cache

Use LOCALSTATEDIR to generate the path to the cache. Signed-off-by: 's avatarStéphane Graber <stgraber@ubuntu.com> Acked-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>
parent 14d9c0f0
......@@ -245,6 +245,7 @@ AC_CONFIG_FILES([
templates/Makefile
templates/lxc-lenny
templates/lxc-debian
templates/lxc-ubuntu
templates/lxc-ubuntu-cloud
templates/lxc-opensuse
templates/lxc-busybox
......
......@@ -258,7 +258,7 @@ install_ubuntu()
rootfs=$1
release=$2
flushcache=$3
cache="/var/cache/lxc/$release"
cache="@LOCALSTATEDIR@/cache/lxc/$release"
mkdir -p /var/lock/subsys/
(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment