From 055907592c851372000a9c12f14e04d299be859c Mon Sep 17 00:00:00 2001 From: jnqnfe Date: Tue, 6 Jan 2015 03:46:37 +0000 Subject: cache: clarify and simplify package cache save/restore These functions are specific to handling packages stored in the cache, not other files. They are also always used with the same `cache/packages.` prefix to the path. Gbp-Dch: Short Closes: #952916 --- scripts/build/chroot_package-lists | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/build/chroot_package-lists') diff --git a/scripts/build/chroot_package-lists b/scripts/build/chroot_package-lists index c26e0f511..2d9a9bdc6 100755 --- a/scripts/build/chroot_package-lists +++ b/scripts/build/chroot_package-lists @@ -53,7 +53,7 @@ fi Check_package chroot /usr/bin/grep-aptavail dctrl-tools # Restoring cache -Restore_cache cache/packages.chroot +Restore_package_cache chroot # Installing depends Install_package @@ -93,7 +93,7 @@ rm -f chroot/bin/Packages Remove_package # Saving cache -Save_cache cache/packages.chroot +Save_package_cache chroot # Creating stage file Create_stagefile .build/chroot_package-lists.${_PASS} -- cgit v1.2.3