bash-completion: resolve sysroot conflicts for util-linux and networkmanager

* 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

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
Andreas Müller
2014-10-01 09:33:28 +02:00
parent 3dc901f989
commit 3cf6953945
@@ -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"