mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Denis Osterland-Heim <denis.osterland@diehl.com>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: [ptxdist] [PATCH] crda: install regulatory.db too
Date: Thu, 11 Mar 2021 07:53:01 +0000	[thread overview]
Message-ID: <20210311075202.1876-1-denis.osterland@diehl.com> (raw)

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

             reply	other threads:[~2021-03-11  7:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-11  7:53 Denis Osterland-Heim [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210311075202.1876-1-denis.osterland@diehl.com \
    --to=denis.osterland@diehl.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox