summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2014-11-28 02:59:54 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-12-31 10:19:00 +0000
commitb48b07f1fb277477509c81a22423c07d195eea9e (patch)
tree8093ee7589424737b258f1ceb41663b0242d45e7 /meta/recipes-core
parentb268f7cc93817f18c523783719ff3c87fb133c1a (diff)
downloadpoky-b48b07f1fb277477509c81a22423c07d195eea9e.tar.gz
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 (From OE-Core rev: 113225b93c55d55a330fcca7d9f996ec039fb953) (From OE-Core rev: 40de12333e05247ff52a5837fd55d61b38af3bf0) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/coreutils/coreutils_8.22.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-core/coreutils/coreutils_8.22.bb b/meta/recipes-core/coreutils/coreutils_8.22.bb
index 6239600c6d..f85bacabd3 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() {
74 mv ${D}${bindir}/[ ${D}${bindir}/lbracket.${BPN} 74 mv ${D}${bindir}/[ ${D}${bindir}/lbracket.${BPN}
75} 75}
76 76
77do_install_append_class-native(){
78 # remove groups to fix conflict with shadow-native
79 rm -f ${D}${STAGING_BINDIR_NATIVE}/groups
80}
81
77inherit update-alternatives 82inherit update-alternatives
78 83
79ALTERNATIVE_PRIORITY = "100" 84ALTERNATIVE_PRIORITY = "100"