public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Bernhard Bitsch <bbitsch@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: [PATCH v4 7/8] wireless-regdb: Use db.txt file for wlanap.cgi
Date: Thu, 05 Aug 2021 23:16:39 +0200	[thread overview]
Message-ID: <106b3411-0710-9433-0050-3748ecb17a44@ipfire.org> (raw)
In-Reply-To: <20210805210152.3467498-7-adolf.belka@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 1546 bytes --]

Reviewed-by: Bernhard Bitsch <bbitsch(a)ipfire.org>

Am 05.08.2021 um 23:01 schrieb Adolf Belka:
> - db.txt is the text file version of the wireless settings by country database
> - Using db.txt means that regdbdump from crda is not required by wlanap.cgi
> - This patch copies the db.txt file from the source tarball to /lib/firmware/ where
>     it can be read by wlanap.cgi
> - This version of the patch renames the db.txt file to regulatorydb.txt
> - Updated rootfile to include regulatorydb.txt
> 
> Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
> ---
>   config/rootfiles/common/wireless-regdb | 1 +
>   lfs/wireless-regdb                     | 1 +
>   2 files changed, 2 insertions(+)
> 
> diff --git a/config/rootfiles/common/wireless-regdb b/config/rootfiles/common/wireless-regdb
> index 7e830ae1f..12376c6e7 100644
> --- a/config/rootfiles/common/wireless-regdb
> +++ b/config/rootfiles/common/wireless-regdb
> @@ -1,3 +1,4 @@
> +lib/firmware/regulatorydb.txt
>   lib/firmware/regulatory.db
>   lib/firmware/regulatory.db.p7s
>   #usr/lib/crda
> diff --git a/lfs/wireless-regdb b/lfs/wireless-regdb
> index 6cffd34ba..8b89795ae 100644
> --- a/lfs/wireless-regdb
> +++ b/lfs/wireless-regdb
> @@ -72,5 +72,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
>   	@$(PREBUILD)
>   	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
>   	cd $(DIR_APP) && make install
> +	cp -vf $(DIR_APP)/db.txt /lib/firmware/regulatorydb.txt
>   	@rm -rf $(DIR_APP)
>   	@$(POSTBUILD)
> 

  reply	other threads:[~2021-08-05 21:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-05 21:01 [PATCH v4 1/8] make.sh: Remove crda and remaining python2 modules Adolf Belka
2021-08-05 21:01 ` [PATCH v4 2/8] crda: removal from kernel 4.15 and onwards Adolf Belka
2021-08-05 21:01 ` [PATCH v4 3/8] python-m2crypto: removal of python2 module Adolf Belka
2021-08-05 21:01 ` [PATCH v4 4/8] python-typing: Removal of this " Adolf Belka
2021-08-05 21:01 ` [PATCH v4 5/8] python-setuptools: " Adolf Belka
2021-08-05 21:01 ` [PATCH v4 6/8] ipaddr: " Adolf Belka
2021-08-05 21:01 ` [PATCH v4 7/8] wireless-regdb: Use db.txt file for wlanap.cgi Adolf Belka
2021-08-05 21:16   ` Bernhard Bitsch [this message]
2021-08-05 21:01 ` [PATCH v4 8/8] wlanap.cgi: Access db.txt in place of using regdbdump on regulatory.bin Adolf Belka
2021-08-05 21:18   ` Bernhard Bitsch
2021-09-06 10:47 ` [PATCH v4 1/8] make.sh: Remove crda and remaining python2 modules Arne Fitzenreiter
2021-09-06 10:48   ` Michael Tremer

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=106b3411-0710-9433-0050-3748ecb17a44@ipfire.org \
    --to=bbitsch@ipfire.org \
    --cc=development@lists.ipfire.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