Skip to contentSkip to conversation

Revert "coreutils-native: don't install groups"

PATCH Peter Kjellerstedt 1 participant 1 message Sep 10, 2025 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Bah, sent to the wrong list.

//Peter

Quoted 38 lines

-----Original Message-----
From: [email protected] <meta- [email protected]> On Behalf Of Peter Kjellerstedt via lists.yoctoproject.org
Sent: den 10 september 2025 21:16
To: [email protected]
Subject: [meta-virtualization] [PATCH] Revert "coreutils-native: don't install groups"

This reverts commit 113225b93c55d55a330fcca7d9f996ec039fb953.

The groups command was previously installed by shadow. Therefore the one provided by coreutils was removed for native to avoid a conflict. However, since version 4.17.0, shadow no longer installs a groups command and thus there is no conflict anymore.

---
 meta/recipes-core/coreutils/coreutils_9.7.bb | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta/recipes- renamed from meta/recipes-core/coreutils/coreutils_9.7.bb +0 -0

core/coreutils/coreutils_9.7.bb
index 3658f7100c..201be4144c 100644

meta/recipes-core/coreutils/coreutils_9.7.bb +1 -3
@@ -82,10 +82,8 @@ do_compile:prepend () {
 
 do_install:class-native() {
 	autotools_do_install
-	# remove groups to fix conflict with shadow-native
-	rm -f ${D}${STAGING_BINDIR_NATIVE}/groups
 	# The return is a must since native doesn't need the
-	# do_install:append() in the below.
+	# do_install:append() below.
 	return
 }