diff options
author | Seth Forshee <seth.forshee@canonical.com> | 2017-12-21 10:35:29 -0600 |
---|---|---|
committer | Seth Forshee <seth.forshee@canonical.com> | 2017-12-23 21:20:07 -0600 |
commit | ec894ad97b32b387a4d4d59dc187f8e200bb5b73 (patch) | |
tree | 4ac6daa2b7ebde47bad5448e4e9fa36259945399 | |
parent | 2ae78adb6ee17e07cbbfc30c5fcf7cd55da450e6 (diff) | |
download | wireless-regdb-ec894ad97b32b387a4d4d59dc187f8e200bb5b73.tar.gz |
wireless-regdb: Install regulatory.db and regulatory.db.p7s to /lib/firmware
regulatory.db is being installed to the CRDA path, however the
kernel expects it to be in /lib/firmware. Install it to the
proper location. Also install the detached signature, which is
needed for the kernel to check verify the database authenticity.
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2,6 +2,7 @@ PREFIX ?= /usr CRDA_PATH ?= $(PREFIX)/lib/crda CRDA_KEY_PATH ?= $(CRDA_PATH)/pubkeys +FIRMWARE_PATH ?= /lib/firmware MANDIR ?= $(PREFIX)/share/man/ @@ -117,10 +118,12 @@ install-distro-key: maintainer-clean $(DISTRO_PRIVKEY) install: regulatory.bin.5.gz regulatory.db.5.gz install -m 755 -d $(DESTDIR)/$(CRDA_PATH) install -m 755 -d $(DESTDIR)/$(CRDA_KEY_PATH) + install -m 755 -d $(DESTDIR)/$(FIRMWARE_PATH) if [ -f .custom ]; then \ install -m 644 -t $(DESTDIR)/$(CRDA_KEY_PATH)/ $(shell cat .custom); \ fi install -m 644 -t $(DESTDIR)/$(CRDA_KEY_PATH)/ $(REGDB_UPSTREAM_PUBKEY) - install -m 644 -t $(DESTDIR)/$(CRDA_PATH)/ regulatory.bin regulatory.db + install -m 644 -t $(DESTDIR)/$(CRDA_PATH)/ regulatory.bin + install -m 644 -t $(DESTDIR)/$(FIRMWARE_PATH) regulatory.db regulatory.db.p7s install -m 755 -d $(DESTDIR)/$(MANDIR)/man5/ install -m 644 -t $(DESTDIR)/$(MANDIR)/man5/ regulatory.bin.5.gz |