Searched refs:cache (Results 1 - 18 of 18) sorted by relevance
/lxc/ |
H A D | autogen.sh | 26 test -d autom4te.cache && rm -rf autom4te.cache
|
/lxc/templates/ |
H A D | lxc-opensuse.in | 121 cache=$1 131 mkdir -p "$cache/partial-$arch" 134 echo "Failed to create '$cache/partial-$arch' directory" 138 # download a mini opensuse into a cache 140 mkdir -p "$cache/partial-$arch-packages" 141 zypper --quiet --root $cache/partial-$arch-packages --non-interactive ar http://download.opensuse.org/distribution/$DISTRO/repo/oss/ repo-oss || return 1 144 zypper --quiet --root $cache/partial-$arch-packages --non-interactive ar http://download.opensuse.org/update/$DISTRO/oss/ update || return 1 146 zypper --quiet --root $cache/partial-$arch-packages --non-interactive ar http://download.opensuse.org/update/$DISTRO/ update || return 1 148 zypper --quiet --root $cache/partial-$arch-packages --non-interactive --gpg-auto-import-keys update || return 1 149 zypper --root $cache/partia [all...] |
H A D | lxc-ubuntu.in | 44 # Allows the lxc-cache directory to be set by environment variable 45 LXC_CACHE_PATH=${LXC_CACHE_PATH:-"$LOCALSTATEDIR/cache/lxc"} 264 # $1 => path to the partial cache or the rootfs 318 try_rmsubvolume $cache/partial-$arch 319 try_rmsubvolume $cache/rootfs-$arch 324 echo "Container upgrade failed. The container cache may be out of date," 325 echo "in which case flushing the cache (see -F in the help output) may help." 330 cache=$1 369 try_mksubvolume "$cache/partial-$arch" 371 echo "Failed to create '$cache/partia [all...] |
H A D | lxc-debian.in | 41 # Allows the lxc-cache directory to be set by environment variable 42 LXC_CACHE_PATH=${LXC_CACHE_PATH:-"$LOCALSTATEDIR/cache/lxc"} 252 rm -rf "$cache/partial-$release-$arch" 253 rm -rf "$cache/rootfs-$release-$arch" 277 cache=$1 283 # Create the cache 284 mkdir -p "$cache" 289 releasekeyring="$cache/archive-key.gpg" 302 mkdir -p "$cache/partial-$release-$arch" 304 echo "Failed to create '$cache/partia [all...] |
H A D | lxc-slackware.in | 39 cache=${cache:-/var/cache/lxc/slackware} 421 # Update any existing icon cache files: 422 if find /usr/share/icons 2> /dev/null | grep -q icon-theme.cache ; then 487 cp -a $cache/rootfs-$release-$arch/* $rootfs/ || exit 1 490 sed -i "s|$cache/rootfs-$release-$arch|$rootfs|" $rootfs/etc/fstab 514 export CONF=$cache/slackpkg-conf 515 export ROOT=$cache/rootfs-$release-$arch 517 mkdir -p $cache/cach [all...] |
H A D | lxc-openmandriva.in | 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 downloa [all...] |
H A D | lxc-altlinux.in | 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/rootf [all...] |
H A D | lxc-centos.in | 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/rootf [all...] |
H A D | lxc-ubuntu-cloud.in | 149 options=$(getopt -o a:hp:r:n:Fi:CLS:T:ds:u: -l arch:,help,rootfs:,path:,release:,name:,flush-cache,hostid:,auth-key:,cloud,no_locales,tarball:,debug,stream:,userdata:,vendordata:,mapped-uid:,mapped-gid: -- "$@") 206 -F|--flush-cache) flushcache=1; shift 1;; 278 # Allow the cache base to be set by environment variable 279 cache=${LXC_CACHE_PATH:-"$STATE_DIR/cache/lxc"}/cloud-$release 281 STATE_DIR="$HOME/.cache/lxc" 282 cache=${LXC_CACHE_PATH:-"$STATE_DIR"}/cloud-$release 285 mkdir -p $cache 316 cd $cache 335 unsquashfs -n -f -d "$rootfs" "$cache/ [all...] |
H A D | lxc-fedora.in | 512 # We know we don't have a cache directory of this version or we 514 # have another Fedora cache directory from which we could run... 716 # move it to the cache location before cleaning up. 804 INSTALL_ROOT=$cache/partial 811 # download a mini fedora into a cache 944 # this template cache using versions of yum and rpm in the bootstrap 947 # with the target database now that we are done building the cache. In the 1004 mv "$INSTALL_ROOT" "$cache/rootfs" 1015 #cp -a $cache/rootfs-$basearch $rootfs_path || return 1 1018 rsync -Ha $cache/rootf [all...] |
H A D | lxc-alpine.in | 38 readonly LXC_CACHE_DIR="${LXC_CACHE_PATH:-"$LOCAL_STATE_DIR/cache/lxc"}/alpine" 78 -F, --flush-cache Remove cached files before build. 90 LXC_CACHE_PATH Path to the cache directory where to store bootstrap files 246 ln -s "$apk_cache" etc/apk/cache 259 rm etc/apk/cache 268 --update-cache --initdb add $packages 408 options=$(getopt -o a:dFm:n:p:r:h -l arch:,debug,flush-cache,mirror:,name:,\ 431 -F | --flush-cache)
|
H A D | lxc-plamo.in | 61 # download a mini plamo into a cache 119 echo "Checking cache download in $dlcache..." 127 # command into the lxc cache directory to keep the original uid/ 279 echo "Purging the download cache..." 344 cache="${LXC_CACHE_PATH:-@LOCALSTATEDIR@/cache/lxc}" 345 ptcache=$cache/partial-${prog##*-}-$release-$arch 346 dlcache=$cache/cache-${prog##*-}-$release-$arch 347 rtcache=$cache/rootf [all...] |
H A D | lxc-download.in | 209 [ --flush-cache ]: Flush the local copy (if present) 210 [ --force-cache ]: Force the use of the local copy even if expired 228 server:,keyid:,keyserver:,no-validate,flush-cache,force-cache,name:,path:,\ 249 --flush-cache) DOWNLOAD_FLUSH_CACHE="true"; shift 1;; 250 --force-cache) DOWNLOAD_FORCE_CACHE="true"; shift 1;; 384 # Setup the cache 386 LXC_CACHE_BASE="$LOCALSTATEDIR/cache/lxc/" 388 LXC_CACHE_BASE="$HOME/.cache/lxc/" 399 echo "Flushing the cache [all...] |
H A D | lxc-gentoo.in | 13 # - ready to use cache 114 #if cache exists and flush not needed, return 117 printf "###### cache_setup(): doing cache preparation\n" 151 printf "### cache_stage3(): stage3 cache deployment...\n" 183 printf " => stage3 cache extracted in : %s\n" "${partialfs}" 334 # check cache 342 printf "#### container_rootfs(): copying rootfs %s from cache %s ...\n" "${rootfs}" "${cachefs}" 345 || die 1 "Error: cache copy to rootfs failed" 462 #lxc.mount.entry=/var/cache/eix var/cache/ei [all...] |
H A D | lxc-cirros.in | 61 # Allow the cache base to be set by environment variable 63 CACHE_D=${LXC_CACHE_PATH:-"@LOCALSTATEDIR@/cache/lxc/cirros"} 65 CACHE_D=${LXC_CACHE_PATH:-"$HOME/.cache/lxc/cirros"} 91 or using cache.
|
/lxc/src/tests/ |
H A D | lxc-test-usernic.in | 118 # Copy the download template cache if available 119 run_cmd "mkdir -p /home/usernic-user/.cache/lxc" 120 [ -d /var/cache/lxc/download ] && \ 121 cp -R /var/cache/lxc/download /home/usernic-user/.cache/lxc && \ 122 chown -R usernic-user: /home/usernic-user/.cache/lxc
|
H A D | lxc-test-apparmor-mount | 143 run_cmd mkdir -p $HDIR/.cache/lxc 144 [ -d /var/cache/lxc/download ] && \ 145 cp -R /var/cache/lxc/download $HDIR/.cache/lxc && \ 146 chown -R $TUSER: $HDIR/.cache/lxc
|
H A D | lxc-test-unpriv | 169 # Copy the download template cache if available 170 run_cmd mkdir -p $HDIR/.cache/lxc 171 [ -d /var/cache/lxc/download ] && \ 172 cp -R /var/cache/lxc/download $HDIR/.cache/lxc && \ 173 chown -R $TUSER: $HDIR/.cache/lxc
|
Completed in 22 milliseconds