summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorLyndon Brown <jnqnfe@gmail.com>2020-02-12 17:17:34 +0000
committerLuca Boccassi <bluca@debian.org>2020-03-05 22:13:57 +0000
commit4d0c3a1169760ec3c29ee756c13b37569d1deb94 (patch)
tree330bfc1984698337f3321c767806e12fc96b0b8c /scripts
parent7867641fd0e23c290a5ae2b8f04f685948b917e3 (diff)
downloadvyos-live-build-4d0c3a1169760ec3c29ee756c13b37569d1deb94.tar.gz
vyos-live-build-4d0c3a1169760ec3c29ee756c13b37569d1deb94.zip
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
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/chroot_firmware1
1 files changed, 0 insertions, 1 deletions
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=""