[lxc-devel] [PATCH] plamo: Support LXC_CACHE_PATH

Serge Hallyn serge.hallyn at ubuntu.com
Wed Jun 24 14:31:03 UTC 2015


Quoting KATOH Yasufumi (karma at jazz.email.ne.jp):
> lxc-plamo supports LXC_CACHE_PATH that is introduced at commit 6dc6f80
> 
> Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>

Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

> ---
>  templates/lxc-plamo.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/templates/lxc-plamo.in b/templates/lxc-plamo.in
> index 3e2a8f2..fbff870 100644
> --- a/templates/lxc-plamo.in
> +++ b/templates/lxc-plamo.in
> @@ -336,7 +336,7 @@ if [ `id -u` -ne 0 ] ; then
>    echo "This script should be run as 'root'."
>    exit 1
>  fi
> -cache=@LOCALSTATEDIR@/cache/lxc
> +cache="${LXC_CACHE_PATH:- at LOCALSTATEDIR@/cache/lxc}"
>  ptcache=$cache/partial-${prog##*-}-$release-$arch
>  dlcache=$cache/cache-${prog##*-}-$release-$arch
>  rtcache=$cache/rootfs-${prog##*-}-$release-$arch
> -- 
> 2.2.1
> 
> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


More information about the lxc-devel mailing list