[oe] [PATCH][meta-oe 15/15] bash-completion: resolve sysroot conflicts for util-linux and networkmanager
Martin Jansa
martin.jansa at gmail.com
Fri Oct 3 02:21:32 UTC 2014
On Wed, Oct 01, 2014 at 10:19:15AM +0200, Andreas Müller wrote:
> * continue the priority for packages shipping bash-completion
> * oe-core's latest changes turn sysroot conflicts into critical error
>
> ERROR: The recipe bash-completion is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
> /home/a.mueller/tmp/oe-core-glibc/sysroots/overo/usr/share/bash-completion/completions/nmcli
> Matched in manifest-overo-networkmanager.populate_sysroot
> /home/a.mueller/tmp/oe-core-glibc/sysroots/overo/usr/share/bash-completion/completions/su
> Matched in manifest-overo-util-linux.populate_sysroot
Just FYI:
IMHO It's not worth adding the bash-completion as "fake" DEPENDS in
util-linux and networkmanager, but if your build happens to build
networkmanager (or util-linux) before bash-completion, then you'll still
hit this error (like I just did in world build).
> Signed-off-by: Andreas Müller <schnitzeltony at googlemail.com>
> ---
> meta-oe/recipes-support/bash-completion/bash-completion_2.1.bb | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/meta-oe/recipes-support/bash-completion/bash-completion_2.1.bb b/meta-oe/recipes-support/bash-completion/bash-completion_2.1.bb
> index 9a0ff35..fbe4278 100644
> --- a/meta-oe/recipes-support/bash-completion/bash-completion_2.1.bb
> +++ b/meta-oe/recipes-support/bash-completion/bash-completion_2.1.bb
> @@ -23,9 +23,12 @@ do_install_append() {
>
> # Delete files already provided by util-linux
> local i
> - for i in cal dmesg eject hexdump hwclock ionice look renice rtcwake; do
> + for i in cal dmesg eject hexdump hwclock ionice look renice rtcwake su; do
> rm ${D}${datadir}/${BPN}/completions/$i
> done
> +
> + # Delete files for networkmanager
> + rm ${D}${datadir}/${BPN}/completions/nmcli
> }
>
> RDEPENDS_${PN} = "bash"
> --
> 1.8.3.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20141003/97025a92/attachment-0002.sig>
More information about the Openembedded-devel
mailing list