Lines Matching refs:cache
42 cache_base=@LOCALSTATEDIR@/cache/lxc/altlinux/$arch
170 INSTALL_ROOT=$cache/partial
177 # download a mini altlinux into a cache
201 mv "$INSTALL_ROOT" "$cache/rootfs"
212 #cp -a $cache/rootfs-$arch $rootfs_path || return 1
215 rsync -Ha $cache/rootfs/ $rootfs_path/
221 chroot $cache/rootfs apt-get update
222 chroot $cache/rootfs apt-get -y dist-upgrade
235 echo "Checking cache download in $cache/rootfs ... "
236 if [ ! -e "$cache/rootfs" ]; then
246 echo "Failed to update 'altlinux base', continuing with last known good cache"
252 echo "Copy $cache/rootfs to $rootfs_path ... "
338 if [ ! -e $cache ]; then
350 echo -n "Purging the download cache for ALTLinux-$release..."
351 rm --preserve-root --one-file-system -rf $cache && echo "Done." || exit 1
371 -c,--clean clean the cache
378 -P,--profile Profile name is the file name in /etc/lxc/profiles contained packages name for install to cache.
461 cache=$cache_base/$release/$profile