diff options
| author | Wenzong Fan <wenzong.fan@windriver.com> | 2014-11-28 02:59:54 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-05 18:01:07 +0000 |
| commit | bdadf2fed8a195679bbe4f82182b98c12370c70d (patch) | |
| tree | f2bd0e9f091f55990e7bfeac6038f9438a5854bb | |
| parent | 997fb3474767a9f7c1c96267d66245373d3d1883 (diff) | |
| download | poky-bdadf2fed8a195679bbe4f82182b98c12370c70d.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)
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>
| -rw-r--r-- | meta/recipes-core/coreutils/coreutils_8.22.bb | 5 |
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 | ||
| 77 | do_install_append_class-native(){ | ||
| 78 | # remove groups to fix conflict with shadow-native | ||
| 79 | rm -f ${D}${STAGING_BINDIR_NATIVE}/groups | ||
| 80 | } | ||
| 81 | |||
| 77 | inherit update-alternatives | 82 | inherit update-alternatives |
| 78 | 83 | ||
| 79 | ALTERNATIVE_PRIORITY = "100" | 84 | ALTERNATIVE_PRIORITY = "100" |
