Lines Matching refs:cache
408 INSTALL_ROOT=$cache/partial
415 # download a mini CentOS into a cache
494 mkdir -p $INSTALL_ROOT/$INSTALL_ROOT/var/cache/yum
495 cp -al $INSTALL_ROOT/var/cache/yum/* $INSTALL_ROOT/$INSTALL_ROOT/var/cache/yum/
507 rm -rf $INSTALL_ROOT/var/cache/yum/*
509 mv "$INSTALL_ROOT" "$cache/rootfs"
520 #cp -a $cache/rootfs-$arch $rootfs_path || return 1
523 rsync -a $cache/rootfs/ $rootfs_path/
530 YUM="chroot $cache/rootfs yum -y --nogpgcheck"
548 echo "Checking cache download in $cache/rootfs ... "
549 if [ ! -e "$cache/rootfs" ]; then
559 echo "Failed to update 'CentOS base', continuing with last known good cache"
565 echo "Copy $cache/rootfs to $rootfs_path ... "
661 if [ ! -e $cache ]; then
673 echo -n "Purging the download cache for CentOS-$release..."
674 rm --preserve-root --one-file-system -rf $cache && echo "Done." || exit 1
691 -c,--clean clean the cache
774 # Allow the cache base to be set by environment variable
775 cache_base=${LXC_CACHE_PATH:-"@LOCALSTATEDIR@/cache/lxc"}/centos/$basearch
858 cache=$cache_base/$release