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: Re: [ptxdist] [PATCH] crda: install regulatory.db too
Date: Thu, 11 Mar 2021 07:55:21 +0000	[thread overview]
Message-ID: <1e96ffe70635aa71c8bbf9b7849ecb8ba37465b7.camel@diehl.com> (raw)
In-Reply-To: <20210311075202.1876-1-denis.osterland@diehl.com>

[-- Attachment #1: Type: text/plain, Size: 2845 bytes --]

Hi,

Once more, sorry for the inconvenience.
Please find mbox attached.

Regards, Denis

Am Donnerstag, den 11.03.2021, 08:52 +0100 schrieb Denis Osterland-Heim:
> 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)
>
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/



[-- Attachment #2: Type: message/rfc822, Size: 1909 bytes --]

From: Denis Osterland-Heim <denis.osterland@diehl.com>
To: <ptxdist@pengutronix.de>
Subject: [PATCH] crda: install regulatory.db too
Date: Thu, 11 Mar 2021 08:52:02 +0100
Message-ID: <20210311075202.1876-1-denis.osterland@diehl.com>

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


[-- Attachment #3: Type: text/plain, Size: 181 bytes --]

_______________________________________________
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:55 UTC|newest]

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