Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Martin Jansa <martin.jansa@gmail.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH][meta-oe 15/15] bash-completion: resolve sysroot conflicts for util-linux and networkmanager
Date: Fri, 3 Oct 2014 04:21:32 +0200	[thread overview]
Message-ID: <20141003022132.GK25706@jama> (raw)
In-Reply-To: <1412151555-19865-16-git-send-email-schnitzeltony@googlemail.com>

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

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@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@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

      reply	other threads:[~2014-10-03  2:20 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-01  8:19 [PATCH][meta-oe 00/15] unblacklist & updates Andreas Müller
2014-10-01  8:19 ` [PATCH][meta-oe 01/15] faenza-icon-theme: initial add 1.3 Andreas Müller
2014-10-01  8:19 ` [PATCH][meta-oe 02/15] libsecret: initial add 0.18 Andreas Müller
2014-10-01  8:19 ` [PATCH][meta-oe 03/15] networkmanager update to 0.9.8.10 Andreas Müller
2014-10-01  8:19 ` [PATCH][meta-oe 04/15] network-manager-applet: " Andreas Müller
2014-10-03 20:04   ` Martin Jansa
2014-10-03 20:10     ` Martin Jansa
2014-10-06  8:32       ` [OE-core] " Andreas Müller
2014-10-06 15:23         ` Martin Jansa
2014-10-07  6:41           ` Andreas Müller
2014-10-08  9:46             ` Andreas Müller
2014-10-01  8:19 ` [PATCH][meta-oe 05/15] tumbler: update to 0.1.30 Andreas Müller
2014-10-01  8:19 ` [PATCH][meta-oe 06/15] tumbler: fix build deps QA warnings Andreas Müller
2014-10-10 10:36   ` Martin Jansa
2014-10-01  8:19 ` [PATCH][meta-oe 07/15] ristretto: don't blacklist - tumbler is up again Andreas Müller
2014-10-01  8:19 ` [PATCH][meta-oe 08/15] xfce4-power-manager: don't blacklist - networkmanager " Andreas Müller
2014-10-01  8:19 ` [PATCH][meta-oe 09/15] packagegroup-xfce-extended: don't blacklist - xfce4-power-manager " Andreas Müller
2014-10-01  8:19 ` [PATCH][meta-oe 10/15] xfce4-taskmanager: update to 1.0.1 Andreas Müller
2014-10-01  8:19 ` [PATCH][meta-oe 11/15] polkit: update to 0.112 Andreas Müller
2014-10-01  8:19 ` [PATCH][meta-oe 12/15] poppler: update to 0.26.5 Andreas Müller
2014-10-01  8:19 ` [PATCH][meta-oe 13/15] xfce4-whiskermenu-plugin: initial add 1.3.2 Andreas Müller
2014-10-01  8:19 ` [PATCH][meta-oe 14/15] packagegroup-xfce-extended: add xfce4-whiskermenu-plugin Andreas Müller
2014-10-01  8:19 ` [PATCH][meta-oe 15/15] bash-completion: resolve sysroot conflicts for util-linux and networkmanager Andreas Müller
2014-10-03  2:21   ` Martin Jansa [this message]

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=20141003022132.GK25706@jama \
    --to=martin.jansa@gmail.com \
    --cc=openembedded-devel@lists.openembedded.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