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

* Re: [ptxdist] [PATCH] crda: install regulatory.db too
  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-19  7:41 ` [ptxdist] [APPLIED] " Michael Olbrich
  1 sibling, 1 reply; 5+ messages in thread
From: Denis Osterland-Heim @ 2021-03-11  7:55 UTC (permalink / raw)
  To: ptxdist

[-- 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

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

* Re: [ptxdist] [PATCH] crda: install regulatory.db too
  2021-03-11  7:55 ` Denis Osterland-Heim
@ 2021-03-12  7:33   ` Michael Olbrich
  2021-03-12  9:08     ` Denis Osterland-Heim
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Olbrich @ 2021-03-12  7:33 UTC (permalink / raw)
  To: ptxdist

Hi,

On Thu, Mar 11, 2021 at 07:55:21AM +0000, Denis Osterland-Heim wrote:
> Once more, sorry for the inconvenience.

No problem.

> Please find mbox attached.

You can just send the attached mbox. As you can see below, my email client
(mutt) quotes the attachment so I can easily reply and comment.
And I can apply the patch just like any inline patch, so no extra work for
me.

> Date: Thu, 11 Mar 2021 08:52:02 +0100
> From: Denis Osterland-Heim <denis.osterland@diehl.com>
> To: ptxdist@pengutronix.de
> Subject: [PATCH] crda: install regulatory.db too
> Message-ID: <20210311075202.1876-1-denis.osterland@diehl.com>
> X-Mailer: git-send-email 2.30.2
> 
> 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)

So the commit message mentions regulatory.db but not regulatory.db.p7s.
What is that file for?

Michael

>  
>  	@$(call install_finish, crda)
>  
> -- 
> 2.30.2


_______________________________________________
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

* Re: [ptxdist] [PATCH] crda: install regulatory.db too
  2021-03-12  7:33   ` Michael Olbrich
@ 2021-03-12  9:08     ` Denis Osterland-Heim
  0 siblings, 0 replies; 5+ messages in thread
From: Denis Osterland-Heim @ 2021-03-12  9:08 UTC (permalink / raw)
  To: ptxdist

Hi,

This file contains is the signatures.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/wireless/Kconfig?h=v5.12-rc2#n97

Regards, Denis

Am Freitag, den 12.03.2021, 08:33 +0100 schrieb Michael Olbrich:
> Hi,
>
> On Thu, Mar 11, 2021 at 07:55:21AM +0000, Denis Osterland-Heim wrote:
> > Once more, sorry for the inconvenience.
>
> No problem.
>
> > Please find mbox attached.
>
> You can just send the attached mbox. As you can see below, my email client
> (mutt) quotes the attachment so I can easily reply and comment.
> And I can apply the patch just like any inline patch, so no extra work for
> me.
>
> > Date: Thu, 11 Mar 2021 08:52:02 +0100
> > From: Denis Osterland-Heim <denis.osterland@diehl.com>
> > To: ptxdist@pengutronix.de
> > Subject: [PATCH] crda: install regulatory.db too
> > Message-ID: <20210311075202.1876-1-denis.osterland@diehl.com>
> > X-Mailer: git-send-email 2.30.2
> >
> > 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)
>
> So the commit message mentions regulatory.db but not regulatory.db.p7s.
> What is that file for?
>
> Michael
>
> >
> >  @$(call install_finish, crda)
> >
> > --
> > 2.30.2
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
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

* Re: [ptxdist] [APPLIED] crda: install regulatory.db too
  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-19  7:41 ` Michael Olbrich
  1 sibling, 0 replies; 5+ messages in thread
From: Michael Olbrich @ 2021-03-19  7:41 UTC (permalink / raw)
  To: ptxdist; +Cc: Denis Osterland-Heim

Thanks, applied as 0067253c890f3eb7d8fb01a0d2975f11ea8b1f76.

Michael

[sent from post-receive hook]

On Fri, 19 Mar 2021 08:41:17 +0100, Denis Osterland-Heim <denis.osterland@diehl.com> wrote:
> Kernel >= 4.15 want to load this file.
> 
> Signed-off-by: Denis Osterland-Heim <denis.osterland@diehl.com>
> Message-Id: <20210311075202.1876-1-denis.osterland@diehl.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/crda.make b/rules/crda.make
> index 724aa7ba9ca9..9cbb7af93d2b 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)
>  

_______________________________________________
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