From: "Khem Raj" <raj.khem@gmail.com>
To: "Robert P. J. Day" <rpjday@crashcourse.ca>
Cc: OpenEmbedded Development mailing list
<openembedded-devel@lists.openembedded.org>
Subject: Re: [oe] [PATCH] use weak assignments for PNBLACKLIST in recipe files
Date: Tue, 26 May 2020 16:18:04 -0700 [thread overview]
Message-ID: <CAMKF1sq2UQaxxdjZYMQh-jXmG5L-kre=xLv3SuaAEOZfFzu+_w@mail.gmail.com> (raw)
In-Reply-To: <alpine.LFD.2.21.2005251518590.6822@localhost.localdomain>
On Mon, May 25, 2020 at 12:21 PM Robert P. J. Day <rpjday@crashcourse.ca> wrote:
>
> Make sure PNBLACKLIST assignments in recipe files use weak assignment,
> so they can be overridden in, for example, local.conf files.
>
I would like contributions here when someone fixes one of the
blacklisted recipes. This patch will let downstream users host it in
bbappends or other places
what is the intended use of this patch?
> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
>
> ---
>
> diff --git a/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb b/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb
> index c39faef8d..eee96d865 100644
> --- a/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb
> +++ b/meta-networking/recipes-netkit/netkit-rusers/netkit-rusers_0.17.bb
> @@ -69,4 +69,4 @@ RDEPENDS_${PN}-server += "tcp-wrappers xinetd rpcbind"
>
> # http://errors.yoctoproject.org/Errors/Details/186962/
> COMPATIBLE_HOST_libc-musl = 'null'
> -PNBLACKLIST[netkit-rusers] = "Fails to build rup.c:51:10: fatal error: rstat.h: No such file or directory"
> +PNBLACKLIST[netkit-rusers] ?= "Fails to build rup.c:51:10: fatal error: rstat.h: No such file or directory"
> diff --git a/meta-networking/recipes-support/drbd/drbd_9.0.19-1.bb b/meta-networking/recipes-support/drbd/drbd_9.0.19-1.bb
> index 23fe2021b..c296c3bc1 100644
> --- a/meta-networking/recipes-support/drbd/drbd_9.0.19-1.bb
> +++ b/meta-networking/recipes-support/drbd/drbd_9.0.19-1.bb
> @@ -22,4 +22,4 @@ do_install () {
> oe_runmake install DESTDIR="${D}"
> }
>
> -PNBLACKLIST[drbd] = "Kernel module Needs forward porting to kernel 5.2+"
> +PNBLACKLIST[drbd] ?= "Kernel module Needs forward porting to kernel 5.2+"
> diff --git a/meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb b/meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb
> index 5917cfb3e..4a1bbe620 100644
> --- a/meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb
> +++ b/meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb
> @@ -36,4 +36,4 @@ FILES_${PN}-dbg += "${libexecdir}/lowpan-tools/.debug/"
> PACKAGES =+ "${PN}-python"
> FILES_${PN}-python = "${libdir}/python*"
>
> -PNBLACKLIST[lowpan-tools] = "WARNING these tools are deprecated! Use wpan-tools instead"
> +PNBLACKLIST[lowpan-tools] ?= "WARNING these tools are deprecated! Use wpan-tools instead"
> diff --git a/meta-oe/recipes-devtools/nanopb/nanopb_0.4.0.bb b/meta-oe/recipes-devtools/nanopb/nanopb_0.4.0.bb
> index 21d110aee..2e3da7d4d 100644
> --- a/meta-oe/recipes-devtools/nanopb/nanopb_0.4.0.bb
> +++ b/meta-oe/recipes-devtools/nanopb/nanopb_0.4.0.bb
> @@ -27,4 +27,4 @@ RDEPENDS_${PN} += "\
>
> BBCLASSEXTEND = "native nativesdk"
>
> -PNBLACKLIST[nanopb] = "Needs forward porting to use python3"
> +PNBLACKLIST[nanopb] ?= "Needs forward porting to use python3"
> diff --git a/meta-oe/recipes-extended/socketcan/can-isotp_git.bb b/meta-oe/recipes-extended/socketcan/can-isotp_git.bb
> index e40e1cd26..eca8dfc7b 100644
> --- a/meta-oe/recipes-extended/socketcan/can-isotp_git.bb
> +++ b/meta-oe/recipes-extended/socketcan/can-isotp_git.bb
> @@ -11,4 +11,4 @@ inherit module
>
> EXTRA_OEMAKE += "KERNELDIR=${STAGING_KERNEL_DIR}"
>
> -PNBLACKLIST[can-isotp] = "Kernel module Needs forward porting to kernel 5.2+"
> +PNBLACKLIST[can-isotp] ?= "Kernel module Needs forward porting to kernel 5.2+"
> diff --git a/meta-oe/recipes-kernel/bpftool/bpftool.bb b/meta-oe/recipes-kernel/bpftool/bpftool.bb
> index 6683eccf2..1758430bc 100644
> --- a/meta-oe/recipes-kernel/bpftool/bpftool.bb
> +++ b/meta-oe/recipes-kernel/bpftool/bpftool.bb
> @@ -32,4 +32,4 @@ python do_package_prepend() {
> }
>
> B = "${WORKDIR}/${BPN}-${PV}"
> -PNBLACKLIST[bpftool] = "Needs forward porting to kernel 5.2+"
> +PNBLACKLIST[bpftool] ?= "Needs forward porting to kernel 5.2+"
>
> --
>
> ========================================================================
> Robert P. J. Day Ottawa, Ontario, CANADA
> http://crashcourse.ca
>
> Twitter: http://twitter.com/rpjday
> LinkedIn: http://ca.linkedin.com/in/rpjday
> ========================================================================
>
next prev parent reply other threads:[~2020-05-26 23:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-25 19:21 [PATCH] use weak assignments for PNBLACKLIST in recipe files Robert P. J. Day
2020-05-26 23:18 ` Khem Raj [this message]
2020-05-27 10:14 ` [oe] " Robert P. J. Day
2020-05-27 19:09 ` Khem Raj
2020-05-27 19:50 ` Robert P. J. Day
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='CAMKF1sq2UQaxxdjZYMQh-jXmG5L-kre=xLv3SuaAEOZfFzu+_w@mail.gmail.com' \
--to=raj.khem@gmail.com \
--cc=openembedded-devel@lists.openembedded.org \
--cc=rpjday@crashcourse.ca \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.