diff options
author | Denis Osterland-Heim <denis.osterland@diehl.com> | 2021-03-11 08:52:02 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2021-03-14 14:55:53 +0100 |
commit | 0067253c890f3eb7d8fb01a0d2975f11ea8b1f76 (patch) | |
tree | 83e9bca808bbb39ffcad4a38e9b7b1ad8aa0e3ab | |
parent | 114fecbd4e97e97d44d9c899b4445a51d9f45529 (diff) | |
download | ptxdist-0067253c890f3eb7d8fb01a0d2975f11ea8b1f76.tar.gz ptxdist-0067253c890f3eb7d8fb01a0d2975f11ea8b1f76.tar.xz |
crda: install regulatory.db too
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>
-rw-r--r-- | rules/crda.make | 8 |
1 files changed, 8 insertions, 0 deletions
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) |