From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.01.org
Subject: [PATCH v2] doc: add section about regulatory.db missing
Date: Mon, 07 Oct 2019 09:35:44 -0700 [thread overview]
Message-ID: <20191007163544.15041-1-prestwoj@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1242 bytes --]
It was found that some distros do not ship with a regulatory.db file.
This is required to run some of the autotests, and if not found on the
system the kernel build will fail due to some of the IWD config
options which require regulatory.db.
The fix is to manually download regulatory.db from git.kernel.org and
place it in /lib/firmware.
---
doc/test-runner.txt | 10 ++++++++++
1 file changed, 10 insertions(+)
-v2:
* Fixed missing 'this' in sentence
diff --git a/doc/test-runner.txt b/doc/test-runner.txt
index 3660381a..ccc17f7b 100644
--- a/doc/test-runner.txt
+++ b/doc/test-runner.txt
@@ -69,6 +69,16 @@ After that a default kernel with the required options can be built:
$ make -j$(nproc)
+Note: If your host distribution does not contain a regulatory.db you may get an
+error similar to this when building the kernel:
+
+No rule to make target '/lib/firmware/regulatory.db'...
+
+To fix this you must download the regulatory.db manually and place it in
+/lib/firmware. This can be found here:
+
+https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git
+
Note: To catch locking related issues the following set of kernel config
options may be useful:
--
2.17.1
reply other threads:[~2019-10-07 16:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20191007163544.15041-1-prestwoj@gmail.com \
--to=prestwoj@gmail.com \
--cc=iwd@lists.01.org \
/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