mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] crda: install regulatory.db too
@ 2021-03-11  7:53 Denis Osterland-Heim
  2021-03-11  7:55 ` Denis Osterland-Heim
  2021-03-19  7:41 ` [ptxdist] [APPLIED] " Michael Olbrich
  0 siblings, 2 replies; 5+ messages in thread
From: Denis Osterland-Heim @ 2021-03-11  7:53 UTC (permalink / raw)
  To: ptxdist

Kernel >= 4.15 want to load this file.

Signed-off-by: Denis Osterland-Heim <denis.osterland@diehl.com>
---
 rules/crda.make | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/rules/crda.make b/rules/crda.make
index 724aa7ba9..9cbb7af93 100644
--- a/rules/crda.make
+++ b/rules/crda.make
@@ -74,6 +74,10 @@ $(STATEDIR)/crda.install:
 @$(call world/install, CRDA)
 @install -vD -m 644 $(CRDA_REGDB_DIR)/$(CRDA_REGDB)/regulatory.bin \
 $(CRDA_PKGDIR)/usr/lib/crda/regulatory.bin
+@install -vD -m 0644 $(CRDA_REGDB_DIR)/$(CRDA_REGDB)/regulatory.db \
+ $(CRDA_PKGDIR)/lib/firmware/regulatory.db
+@install -vD -m 0644 $(CRDA_REGDB_DIR)/$(CRDA_REGDB)/regulatory.db.p7s \
+ $(CRDA_PKGDIR)/lib/firmware/regulatory.db.p7s
 @install -vD -m 644 $(CRDA_REGDB_DIR)/pubkeys/linville.key.pub.pem \
 $(CRDA_PKGDIR)/usr/lib/crda/pubkeys/linville.key.pub.pem
 @install -vD -m 644 $(CRDA_REGDB_DIR)/pubkeys/sforshee.key.pub.pem \
@@ -103,6 +107,10 @@ $(STATEDIR)/crda.targetinstall:
 /usr/lib/crda/pubkeys)
 @$(call install_alternative, crda, 0, 0, 0644, \
 /usr/lib/crda/regulatory.bin)
+@$(call install_alternative, crda, 0, 0, 0644, \
+/lib/firmware/regulatory.db)
+@$(call install_alternative, crda, 0, 0, 0644, \
+/lib/firmware/regulatory.db.p7s)

 @$(call install_finish, crda)

--
2.30.2

Diehl Connectivity Solutions GmbH
Geschäftsführung: Horst Leonberger
Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
Nürnberg: HRB 32315

________________________________

Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht.
Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung und/oder Publikation dieser E-Mail ist strengstens untersagt.

- Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten Sie unter:

https://www.diehl.com/group/de/transparenz-und-informationspflichten/

The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential and/or legally protected information. Please inform us if you have received this e-mail by
mistake and delete it in such a case. Each unauthorized reproduction, disclosure, alteration, distribution and/or publication of this e-mail is strictly prohibited.

- For general information on data protection and your respective rights please visit:

https://www.diehl.com/group/en/transparency-and-information-obligations/



_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-19  7:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11  7:53 [ptxdist] [PATCH] crda: install regulatory.db too Denis Osterland-Heim
2021-03-11  7:55 ` Denis Osterland-Heim
2021-03-12  7:33   ` Michael Olbrich
2021-03-12  9:08     ` Denis Osterland-Heim
2021-03-19  7:41 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox