[Buildroot] [PATCH 3/3] wireless-regdb: omit author info from private key in home directory

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Jun 18 20:28:36 UTC 2020


Hello,

On Fri, 12 Jun 2020 07:31:10 +0200
Kurt Van Dijck <dev.kurt at vandijck-laurijssen.be> wrote:

> Signed-off-by: Kurt Van Dijck <dev.kurt at vandijck-laurijssen.be>
> ---
>  .../002-no-author-from-user-privkey.patch            | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>  create mode 100644 package/wireless-regdb/002-no-author-from-user-privkey.patch
> 
> diff --git a/package/wireless-regdb/002-no-author-from-user-privkey.patch b/package/wireless-regdb/002-no-author-from-user-privkey.patch
> new file mode 100644
> index 0000000000..8cab1e169c
> --- /dev/null
> +++ b/package/wireless-regdb/002-no-author-from-user-privkey.patch
> @@ -0,0 +1,12 @@
> +diff -Naur wireless-regdb.orig/Makefile wireless-regdb/Makefile
> +--- wireless-regdb.orig/Makefile	2017-03-07 14:13:09.000000000 +0100
> ++++ wireless-regdb/Makefile	2019-01-07 14:15:14.296020922 +0100
> +@@ -29,7 +29,7 @@
> + 			echo custom-user; \
> + 		fi)
> + 
> +-REGDB_PRIVKEY ?= ~/.wireless-regdb-$(REGDB_AUTHOR).key.priv.pem
> ++REGDB_PRIVKEY ?= ~/.wireless-regdb.key.priv.pem
> + REGDB_PUBKEY ?= $(REGDB_AUTHOR).key.pub.pem
> + 
> + REGDB_UPSTREAM_PUBKEY ?= sforshee.key.pub.pem

All patches need a description and Signed-off-by line. But what about
passing REGDB_AUTHOR=buildroot from wireless-regdb.mk, or something
like that ?

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


More information about the buildroot mailing list