summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_package-lists
diff options
context:
space:
mode:
authorjnqnfe <jnqnfe@gmail.com>2015-01-06 03:46:37 +0000
committerLuca Boccassi <bluca@debian.org>2020-03-05 22:09:20 +0000
commit055907592c851372000a9c12f14e04d299be859c (patch)
treeff2d213bae0de5d96237d43c8aeeea699ce285ec /scripts/build/chroot_package-lists
parentc1dcc4dd898c2d6f214dcc7ea23de73ab37cef7b (diff)
downloadvyos-live-build-055907592c851372000a9c12f14e04d299be859c.tar.gz
vyos-live-build-055907592c851372000a9c12f14e04d299be859c.zip
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
Diffstat (limited to 'scripts/build/chroot_package-lists')
-rwxr-xr-xscripts/build/chroot_package-lists4
1 files changed, 2 insertions, 2 deletions
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}