Skip to contentSkip to conversation

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

PATCH New Peter Kjellerstedt 1 participant 1 message Sep 10, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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-core/coreutils/coreutils_9.7.bb +1 -3
index 3658f7100c..201be4144c 100644
@@ -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
 }