Using one single packages cache directory for all chroot packages.
This commit is contained in:
parent
bd76f9940b
commit
dd470ea575
|
@ -45,7 +45,7 @@ Create_lockfile .lock
|
||||||
if [ -e chroot/root/chroot_packages ] && [ -s chroot/root/chroot_packages ]
|
if [ -e chroot/root/chroot_packages ] && [ -s chroot/root/chroot_packages ]
|
||||||
then
|
then
|
||||||
# Restoring cache
|
# Restoring cache
|
||||||
Restore_cache cache/packages_packages
|
Restore_cache cache/packages_chroot
|
||||||
|
|
||||||
# Installing packages
|
# Installing packages
|
||||||
case "${LH_APT}" in
|
case "${LH_APT}" in
|
||||||
|
@ -61,7 +61,7 @@ then
|
||||||
rm -f chroot/root/chroot_packages
|
rm -f chroot/root/chroot_packages
|
||||||
|
|
||||||
# Saving cache
|
# Saving cache
|
||||||
Save_cache cache/packages_packages
|
Save_cache cache/packages_chroot
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/chroot_install-packages
|
Create_stagefile .stage/chroot_install-packages
|
||||||
|
|
|
@ -638,13 +638,13 @@ then
|
||||||
Check_installed chroot/usr/bin/k3b k3b; [ $INSTALL_STATUS -eq 0 ] && Check_package "" k3b-i18n
|
Check_installed chroot/usr/bin/k3b k3b; [ $INSTALL_STATUS -eq 0 ] && Check_package "" k3b-i18n
|
||||||
|
|
||||||
# Restoring cache
|
# Restoring cache
|
||||||
Restore_cache cache/packages_localization
|
Restore_cache cache/packages_chroot
|
||||||
|
|
||||||
# Installing packages
|
# Installing packages
|
||||||
Install_package
|
Install_package
|
||||||
|
|
||||||
# Saving cache
|
# Saving cache
|
||||||
Save_cache cache/packages_localization
|
Save_cache cache/packages_chroot
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/chroot_localization
|
Create_stagefile .stage/chroot_localization
|
||||||
|
|
|
@ -45,7 +45,7 @@ Create_lockfile .lock
|
||||||
if [ -n "${LH_TASKS}" ] && [ "${LH_TASKS}" != "none" ]
|
if [ -n "${LH_TASKS}" ] && [ "${LH_TASKS}" != "none" ]
|
||||||
then
|
then
|
||||||
# Restoring cache
|
# Restoring cache
|
||||||
Restore_cache cache/packages_tasks
|
Restore_cache cache/packages_chroot
|
||||||
|
|
||||||
# Checking depends
|
# Checking depends
|
||||||
case "${LH_TASKSEL}" in
|
case "${LH_TASKSEL}" in
|
||||||
|
@ -79,7 +79,7 @@ then
|
||||||
Remove_package
|
Remove_package
|
||||||
|
|
||||||
# Saving cache
|
# Saving cache
|
||||||
Save_cache cache/packages_tasks
|
Save_cache cache/packages_chroot
|
||||||
|
|
||||||
# Creating stage file
|
# Creating stage file
|
||||||
Create_stagefile .stage/chroot_tasks
|
Create_stagefile .stage/chroot_tasks
|
||||||
|
|
Loading…
Reference in New Issue