[oe-commits] Wenzong Fan : coreutils-native: don't install groups

git at git.openembedded.org git at git.openembedded.org
Fri Dec 5 18:01:35 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 113225b93c55d55a330fcca7d9f996ec039fb953
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=113225b93c55d55a330fcca7d9f996ec039fb953

Author: Wenzong Fan <wenzong.fan at windriver.com>
Date:   Fri Nov 28 02:59:54 2014 -0500

coreutils-native: don't install groups

This binary is provided by shadow-native nowadays. Fixes:

  ERROR: The recipe coreutils-native is trying to install files \
    into a shared area when those files already exist. \
    Those files and their manifest location are: \
      .../tmp/sysroots/x86_64-linux/usr/bin/groups \
    Matched in manifest-x86_64-shadow-native.populate_sysroot

To reproduce the errors:

  $ bitbake shadow-native && bitbake coreutils-native

Signed-off-by: Wenzong Fan <wenzong.fan at windriver.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/recipes-core/coreutils/coreutils_8.22.bb | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-core/coreutils/coreutils_8.22.bb b/meta/recipes-core/coreutils/coreutils_8.22.bb
index 6239600..f85baca 100644
--- a/meta/recipes-core/coreutils/coreutils_8.22.bb
+++ b/meta/recipes-core/coreutils/coreutils_8.22.bb
@@ -74,6 +74,11 @@ do_install_append() {
 	mv ${D}${bindir}/[ ${D}${bindir}/lbracket.${BPN}
 }
 
+do_install_append_class-native(){
+	# remove groups to fix conflict with shadow-native
+	rm -f ${D}${STAGING_BINDIR_NATIVE}/groups
+}
+
 inherit update-alternatives
 
 ALTERNATIVE_PRIORITY = "100"



More information about the Openembedded-commits mailing list