diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2018.05.31.bb')
-rw-r--r-- | meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2018.05.31.bb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2018.05.31.bb b/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2018.05.31.bb index 8bb866ff1..2ae9e8542 100644 --- a/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2018.05.31.bb +++ b/meta-networking/recipes-connectivity/wireless-regdb/wireless-regdb_2018.05.31.bb | |||
@@ -15,6 +15,19 @@ do_install() { | |||
15 | install -d -m0755 ${D}${sysconfdir}/wireless-regdb/pubkeys | 15 | install -d -m0755 ${D}${sysconfdir}/wireless-regdb/pubkeys |
16 | install -m 0644 regulatory.bin ${D}${libdir}/crda/regulatory.bin | 16 | install -m 0644 regulatory.bin ${D}${libdir}/crda/regulatory.bin |
17 | install -m 0644 sforshee.key.pub.pem ${D}${sysconfdir}/wireless-regdb/pubkeys/sforshee.key.pub.pem | 17 | install -m 0644 sforshee.key.pub.pem ${D}${sysconfdir}/wireless-regdb/pubkeys/sforshee.key.pub.pem |
18 | |||
19 | install -m 0644 -D regulatory.db ${D}${nonarch_base_libdir}/firmware/regulatory.db | ||
20 | install -m 0644 regulatory.db.p7s ${D}${nonarch_base_libdir}/firmware/regulatory.db.p7s | ||
18 | } | 21 | } |
19 | 22 | ||
23 | # Install static regulatory DB in /lib/firmware for kernel to load. | ||
24 | # This requires Linux kernel >= v4.15. | ||
25 | PACKAGES =+ "${PN}-static" | ||
26 | RCONFLICTS_${PN} = "${PN}-static" | ||
27 | |||
28 | FILES_${PN}-static = " \ | ||
29 | ${nonarch_base_libdir}/firmware/regulatory.db \ | ||
30 | ${nonarch_base_libdir}/firmware/regulatory.db.p7s \ | ||
31 | " | ||
32 | |||
20 | RSUGGESTS_${PN} = "crda" | 33 | RSUGGESTS_${PN} = "crda" |