[OE-core] [PATCH][master-next] linux-firmware: also install / package all license files

André Draszik git at andred.net
Thu Mar 5 20:32:07 UTC 2020


This doesn't happen with make install, hence all the -license packages
are missing, since they'd otherwise be empty.

Signed-off-by: André Draszik <git at andred.net>
---
 meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
index f7198cb56a..6039dc9d71 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20200122.bb
@@ -209,6 +209,7 @@ do_compile() {
 
 do_install() {
         oe_runmake 'DESTDIR=${D}' install
+        cp GPL-2 LICEN[CS]E.* WHENCE ${D}${nonarch_base_libdir}/firmware/
 }
 
 
-- 
2.23.0.rc1



More information about the Openembedded-core mailing list