summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-04-17 10:39:47 +0200
committerDaniel Baumann <daniel@debian.org>2008-04-17 10:39:47 +0200
commitdd470ea575a8b75051708ff591b335b35c6b2df0 (patch)
tree87838eec76fbaabae05fcf0720f6eed9557cd2c9
parentbd76f9940bde6cc31f4a29d4f1d2345763c63ab5 (diff)
downloadvyos-live-build-dd470ea575a8b75051708ff591b335b35c6b2df0.tar.gz
vyos-live-build-dd470ea575a8b75051708ff591b335b35c6b2df0.zip
Using one single packages cache directory for all chroot packages.
-rwxr-xr-xhelpers/lh_chroot_install-packages4
-rwxr-xr-xhelpers/lh_chroot_localization4
-rwxr-xr-xhelpers/lh_chroot_tasks4
3 files changed, 6 insertions, 6 deletions
diff --git a/helpers/lh_chroot_install-packages b/helpers/lh_chroot_install-packages
index dad074bd7..469d0a23a 100755
--- a/helpers/lh_chroot_install-packages
+++ b/helpers/lh_chroot_install-packages
@@ -45,7 +45,7 @@ Create_lockfile .lock
if [ -e chroot/root/chroot_packages ] && [ -s chroot/root/chroot_packages ]
then
# Restoring cache
- Restore_cache cache/packages_packages
+ Restore_cache cache/packages_chroot
# Installing packages
case "${LH_APT}" in
@@ -61,7 +61,7 @@ then
rm -f chroot/root/chroot_packages
# Saving cache
- Save_cache cache/packages_packages
+ Save_cache cache/packages_chroot
# Creating stage file
Create_stagefile .stage/chroot_install-packages
diff --git a/helpers/lh_chroot_localization b/helpers/lh_chroot_localization
index 941a5af3d..c4f4f4533 100755
--- a/helpers/lh_chroot_localization
+++ b/helpers/lh_chroot_localization
@@ -638,13 +638,13 @@ then
Check_installed chroot/usr/bin/k3b k3b; [ $INSTALL_STATUS -eq 0 ] && Check_package "" k3b-i18n
# Restoring cache
- Restore_cache cache/packages_localization
+ Restore_cache cache/packages_chroot
# Installing packages
Install_package
# Saving cache
- Save_cache cache/packages_localization
+ Save_cache cache/packages_chroot
# Creating stage file
Create_stagefile .stage/chroot_localization
diff --git a/helpers/lh_chroot_tasks b/helpers/lh_chroot_tasks
index b55478305..9d3a15bf8 100755
--- a/helpers/lh_chroot_tasks
+++ b/helpers/lh_chroot_tasks
@@ -45,7 +45,7 @@ Create_lockfile .lock
if [ -n "${LH_TASKS}" ] && [ "${LH_TASKS}" != "none" ]
then
# Restoring cache
- Restore_cache cache/packages_tasks
+ Restore_cache cache/packages_chroot
# Checking depends
case "${LH_TASKSEL}" in
@@ -79,7 +79,7 @@ then
Remove_package
# Saving cache
- Save_cache cache/packages_tasks
+ Save_cache cache/packages_chroot
# Creating stage file
Create_stagefile .stage/chroot_tasks