mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>