coreutils-native: don't install groups
cover coreutils-native: don't install groups
From: Wenzong Fan <[email protected]>
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_sysrootTo reproduce the errors:
$ bitbake shadow-native && bitbake coreutils-native
The following changes since commit 0bc03af7ee6112fa0af0608b02f715ec8495e4ff:
maintainers.inc: update maintainers (2014-11-26 17:06:10 +0000)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib wenzong/coreutils-native
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=wenzong/coreutils-native
Wenzong Fan (1):
coreutils-native: don't install groups
meta/recipes-core/coreutils/coreutils_8.22.bb | 5 +++++ 1 file changed, 5 insertions(+)
Signature · 1 line
1.7.9.5
PATCH 1/1 coreutils-native: don't install groups
From: Wenzong Fan <[email protected]>
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_sysrootTo reproduce the errors:
$ bitbake shadow-native && bitbake coreutils-native
Signed-off-by Wenzong Fan <[email protected]>
--- meta/recipes-core/coreutils/coreutils_8.22.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta/recipes-core/coreutils/coreutils_8.22.bb +5 -0
@@ -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"
Signature · 1 line
1.7.9.5