From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from enterprise01.smtp.diehl.com ([193.201.238.219]) by metis.ext.pengutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKG7z-0003JG-S8 for ptxdist@pengutronix.de; Thu, 11 Mar 2021 08:53:04 +0100 From: Denis Osterland-Heim Date: Thu, 11 Mar 2021 07:53:01 +0000 Message-ID: <20210311075202.1876-1-denis.osterland@diehl.com> Content-Language: en-US MIME-Version: 1.0 Subject: [ptxdist] [PATCH] crda: install regulatory.db too List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: "ptxdist@pengutronix.de" Kernel >=3D 4.15 want to load this file. Signed-off-by: Denis Osterland-Heim --- 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=E4ftsf=FChrung: Horst Leonberger Sitz der Gesellschaft: N=FCrnberg - Registergericht: Amtsgericht N=FCrnberg: HRB 32315 ________________________________ Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mai= l enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise erhalte= n haben. Bitte loeschen Sie in diesem Fall die Nachricht. Jede unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung u= nd/oder Publikation dieser E-Mail ist strengstens untersagt. - Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten Si= e unter: https://www.diehl.com/group/de/transparenz-und-informationspflichten/ The contents of the above mentioned e-mail is not legally binding. This e-m= ail contains confidential and/or legally protected information. Please info= rm us if you have received this e-mail by mistake and delete it in such a case. Each unauthorized reproduction, discl= osure, alteration, distribution and/or publication of this e-mail is strict= ly prohibited. - For general information on data protection and your respective rights ple= ase 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@p= engutronix.de