Lines Matching refs:cache
45 # Allow the cache base to be set by environment variable
46 cache_base="${LXC_CACHE_PATH:-@LOCALSTATEDIR@/cache/lxc/openmandriva/$arch}"
123 INSTALL_ROOT=$cache/cache
131 # download a mini openmandriva into a cache
146 mv "$INSTALL_ROOT" "$cache/rootfs"
158 rsync -Ha $cache/rootfs/ $rootfs_path/
165 urpmi --root $cache/rootfs --urpmi-root $cache/rootfs --auto --auto-update --ignorearch
195 echo "Checking cache download in $cache/rootfs ... "
196 if [ ! -e "$cache/rootfs" ]; then
197 echo $cache/rootfs
207 echo "Failed to update 'openmandriva base', continuing with last known good cache"
213 echo "Copy $cache/rootfs to $rootfs_path ... "
298 if [ ! -e $cache ]; then
310 echo -n "Purging the download cache for OpenMandriva-$release..."
311 rm --preserve-root --one-file-system -rf $cache && echo "Done." || exit 1
331 -c,--clean clean the cache
338 -P,--profile Profile name is the file name in /etc/lxc/profiles contained packages name for install to cache.
437 cache=$cache_base/$release/$arch/$profile