[OE-core] [PATCH v8 06/13] go-dep: Move bash dependency to -dev package

Martin Jansa martin.jansa at gmail.com
Tue Sep 12 13:15:27 UTC 2017


Doesn't this belong into:
[OE-core] [PATCH v8 03/13] go: split out go-runtime into separate recipe
where it packaging change was probably introduced?

Also just RFC question, would it make sense to use:

VIRTUAL-RUNTIME_bash ?= "bash"
RDEPENDS_${PN}-dev += "${VIRTUAL-RUNTIME_bash}"

instead of the bash dependency directly? If it's acceptable for oe-core
I'll create change to do it for all recipe (I don't mind waiting after 2.4
is released).

Because right now for reasons described in
https://bugzilla.yoctoproject.org/show_bug.cgi?id=9217 I need to do the
above +
RDEPENDS_${PN}-dev_remove = "bash"
for many recipes with many bbappends, for our distro where we RPROVIDE bash
by busybox, which is good enough for package manager, but QA error is still
shown in cases where the real bash is built before the component
rdpenending on it.

Regards,


On Tue, Sep 12, 2017 at 2:50 PM, Otavio Salvador <otavio at ossystems.com.br>
wrote:

> The src content has been moved to -dev package, so does the test
> routines. Fix the runtime dependency accordingly.
>
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---
>
> Changes in v8:
> - new patch
>
> Changes in v7: None
> Changes in v6: None
>
>  meta/recipes-devtools/go/go-dep_0.3.0.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-devtools/go/go-dep_0.3.0.bb
> b/meta/recipes-devtools/go/go-dep_0.3.0.bb
> index c65b4f7cb5..5e4544a104 100644
> --- a/meta/recipes-devtools/go/go-dep_0.3.0.bb
> +++ b/meta/recipes-devtools/go/go-dep_0.3.0.bb
> @@ -15,4 +15,4 @@ GO_INSTALL = "${GO_IMPORT}/cmd/dep"
>
>  INSANE_SKIP_${PN} += "ldflags"
>
> -RDEPENDS_${PN}-staticdev += "bash"
> +RDEPENDS_${PN}-dev += "bash"
> --
> 2.14.1
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20170912/15877c6c/attachment-0002.html>


More information about the Openembedded-core mailing list