summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/ksparser.py
diff options
context:
space:
mode:
authorZoltan Boszormenyi <zboszor@gmail.com>2025-10-17 11:12:37 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-27 11:37:42 +0000
commite77f9b70911f514e977cf3916130a75cf5432fa0 (patch)
tree4388bf8df9a219bbf8b1da0308b55397235d7851 /scripts/lib/wic/ksparser.py
parentcdcd128aae02ee6edb051ea92ba7f4ccf091bbad (diff)
downloadpoky-e77f9b70911f514e977cf3916130a75cf5432fa0.tar.gz
linux-firmware: Fix removing unlicensed firmware if compression is used
If FIRMWARE_COMPRESSION is set, the newly added code to remove unlicensed firmware fails with: | Remove unlicensed firmware: acenic/tg1.bin | rm: cannot remove '.../work/all-oe-linux/linux-firmware/20250917/image/usr/lib/firmware/acenic/tg1.bin': No such file or directory This is because the code does not consider that the file may be compressed. Fix it by factoring out the code to construct the compressed file name suffix from do_install:append() into a python function and also use it for the actual file names listed in REMOVE_UNLICENSED. (From OE-Core rev: 79fc52e2d729bf30a901055a9864280d3055bbeb) (From OE-Core rev: ecfb4494a9bc23cb1b1532cff32d67d4384ded3e) Signed-off-by: Zoltán Böszörményi <zboszor@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/ksparser.py')
0 files changed, 0 insertions, 0 deletions