summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_archives
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/lb_chroot_archives')
-rwxr-xr-xscripts/build/lb_chroot_archives50
1 files changed, 25 insertions, 25 deletions
diff --git a/scripts/build/lb_chroot_archives b/scripts/build/lb_chroot_archives
index 064c247f4..fb4a9e8ee 100755
--- a/scripts/build/lb_chroot_archives
+++ b/scripts/build/lb_chroot_archives
@@ -56,7 +56,7 @@ case "${1}" in
Create_lockfile .lock
# Restoring cache
- Restore_cache cache/packages_chroot
+ Restore_cache cache/packages.chroot
# Configure custom sources.list
@@ -431,41 +431,41 @@ EOF
fi
# Update indices from cache
- if [ "${LB_CACHE_INDICES}" = "true" ] && [ -d cache/indices_bootstrap ]
+ if [ "${LB_CACHE_INDICES}" = "true" ] && [ -d cache/indices.bootstrap ]
then
- if Find_files cache/indices_bootstrap/secring.gpg*
+ if Find_files cache/indices.bootstrap/secring.gpg*
then
- cp -f cache/indices_bootstrap/secring.gpg* chroot/etc/apt
+ cp -f cache/indices.bootstrap/secring.gpg* chroot/etc/apt
fi
- if Find_files cache/indices_bootstrap/trusted.gpg*
+ if Find_files cache/indices.bootstrap/trusted.gpg*
then
- cp -rf cache/indices_bootstrap/trusted.gpg* chroot/etc/apt
+ cp -rf cache/indices.bootstrap/trusted.gpg* chroot/etc/apt
fi
- if [ -f cache/indices_bootstrap/pkgcache.bin ]
+ if [ -f cache/indices.bootstrap/pkgcache.bin ]
then
- cp -f cache/indices_bootstrap/pkgcache.bin chroot/var/cache/apt
+ cp -f cache/indices.bootstrap/pkgcache.bin chroot/var/cache/apt
fi
- if [ -f cache/indices_bootstrap/srcpkgcache.bin ]
+ if [ -f cache/indices.bootstrap/srcpkgcache.bin ]
then
- cp -f cache/indices_bootstrap/srcpkgcache.bin chroot/var/cache/apt
+ cp -f cache/indices.bootstrap/srcpkgcache.bin chroot/var/cache/apt
fi
- if Find_files cache/indices_bootstrap/*_Packages
+ if Find_files cache/indices.bootstrap/*_Packages
then
- cp -f cache/indices_bootstrap/*_Packages chroot/var/lib/apt/lists
+ cp -f cache/indices.bootstrap/*_Packages chroot/var/lib/apt/lists
fi
- if Find_files cache/indices_bootstrap/*_Sources
+ if Find_files cache/indices.bootstrap/*_Sources
then
- cp -f cache/indices_bootstrap/*_Sources chroot/var/lib/apt/lists
+ cp -f cache/indices.bootstrap/*_Sources chroot/var/lib/apt/lists
fi
- if Find_files cache/indices_bootstrap/*Release*
+ if Find_files cache/indices.bootstrap/*Release*
then
- cp -f cache/indices_bootstrap/*Release* chroot/var/lib/apt/lists
+ cp -f cache/indices.bootstrap/*Release* chroot/var/lib/apt/lists
fi
if [ "${LB_APT}" = "aptitude" ] && [ ! -x /usr/bin/aptitude ]
@@ -536,31 +536,31 @@ EOF
if [ "${LB_CACHE_INDICES}" = "true" ]
then
- mkdir -p cache/indices_bootstrap
+ mkdir -p cache/indices.bootstrap
- cp -f chroot/etc/apt/secring.gpg* cache/indices_bootstrap
- cp -rf chroot/etc/apt/trusted.gpg* cache/indices_bootstrap
+ cp -f chroot/etc/apt/secring.gpg* cache/indices.bootstrap
+ cp -rf chroot/etc/apt/trusted.gpg* cache/indices.bootstrap
- cp -f chroot/var/cache/apt/pkgcache.bin cache/indices_bootstrap
+ cp -f chroot/var/cache/apt/pkgcache.bin cache/indices.bootstrap
if Find_files chroot/var/cache/apt/srcpkgcache.bin
then
- cp -f chroot/var/cache/apt/srcpkgcache.bin cache/indices_bootstrap
+ cp -f chroot/var/cache/apt/srcpkgcache.bin cache/indices.bootstrap
fi
- cp -f chroot/var/lib/apt/lists/*_Packages cache/indices_bootstrap
+ cp -f chroot/var/lib/apt/lists/*_Packages cache/indices.bootstrap
if Find_files chroot/var/lib/apt/lists/*_Sources
then
- cp -f chroot/var/lib/apt/lists/*_Sources cache/indices_bootstrap
+ cp -f chroot/var/lib/apt/lists/*_Sources cache/indices.bootstrap
fi
- cp -f chroot/var/lib/apt/lists/*Release* cache/indices_bootstrap
+ cp -f chroot/var/lib/apt/lists/*Release* cache/indices.bootstrap
fi
fi
# Saving cache
- Save_cache cache/packages_chroot
+ Save_cache cache/packages.chroot
# Creating stage file
Create_stagefile .build/chroot_archives