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/binary_rootfs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'scripts/build/binary_rootfs') diff --git a/scripts/build/binary_rootfs b/scripts/build/binary_rootfs index ca831a9fe..51c3c5aba 100755 --- a/scripts/build/binary_rootfs +++ b/scripts/build/binary_rootfs @@ -84,7 +84,7 @@ case "${LB_CHROOT_FILESYSTEM}" in Check_package chroot /sbin/mkfs.${LB_CHROOT_FILESYSTEM} e2fsprogs # Restoring cache - Restore_cache cache/packages.binary + Restore_package_cache binary # Installing depends Install_package @@ -196,7 +196,7 @@ case "${LB_CHROOT_FILESYSTEM}" in esac # Saving cache - Save_cache cache/packages.binary + Save_package_cache binary ;; jffs2) @@ -204,7 +204,7 @@ case "${LB_CHROOT_FILESYSTEM}" in Check_package chroot /usr/sbin/mkfs.jffs2 mtd-tools # Restoring cache - Restore_cache cache/packages.binary + Restore_package_cache binary # Installing depends Install_package @@ -276,7 +276,7 @@ case "${LB_CHROOT_FILESYSTEM}" in esac # Saving cache - Save_cache cache/packages.binary + Save_package_cache binary ;; plain) @@ -301,7 +301,7 @@ case "${LB_CHROOT_FILESYSTEM}" in Check_package chroot /usr/share/doc/squashfs-tools squashfs-tools # Restoring cache - Restore_cache cache/packages.binary + Restore_package_cache binary # Installing depends Install_package @@ -420,7 +420,7 @@ case "${LB_CHROOT_FILESYSTEM}" in chmod 0644 binary/${INITFS}/filesystem.squashfs # Saving cache - Save_cache cache/packages.binary + Save_package_cache binary ;; none) -- cgit v1.2.3