From 4d0c3a1169760ec3c29ee756c13b37569d1deb94 Mon Sep 17 00:00:00 2001 From: Lyndon Brown Date: Wed, 12 Feb 2020 17:17:34 +0000 Subject: firmware: enable caching for archive content file with firmware lists the existing logic for obtaining a list of firmware packages always downloaded a fresh copy of the archive content file, deleting the file already in the cache. here we move to actually making use of the cache. this helps when building multiple times, at least for the same distro. the package list obtained is rarely going to change after all. it could of course differ between distros, but the cache is per-distro, as it has always been. we of course here switch to caching each of the archive-area files individually rather than having one file that gets overwritten (or appended to in the case of when we kept the decompressed file). Gbp-Dch: Short Closes: #952911 --- scripts/build/chroot_firmware | 1 - 1 file changed, 1 deletion(-) (limited to 'scripts') diff --git a/scripts/build/chroot_firmware b/scripts/build/chroot_firmware index 7fdd7605d..389728c1b 100755 --- a/scripts/build/chroot_firmware +++ b/scripts/build/chroot_firmware @@ -54,7 +54,6 @@ Check_package host /usr/bin/wget wget # Include firmware packages # Get all firmware packages names -mkdir -p cache/contents.chroot FIRMWARE_PACKAGES="" -- cgit v1.2.3