summaryrefslogtreecommitdiff
path: root/scripts/build/source_live
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/build/source_live
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/build/source_live')
0 files changed, 0 insertions, 0 deletions