From 4df61a34f13e9745f05a30506e9a34cdbfe0c252 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 14 Aug 2018 11:37:30 +0100 Subject: coreutils: don't build su Previously we built su but didn't package it because util-linux is the preferred provider. However with glibc 2.28 libcrypt has been removed so su doesn't build. Instead of depending on virtual/crypt, lets just not build su at all. Signed-off-by: Ross Burton --- recipes-core/coreutils/coreutils_6.9.bb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'recipes-core/coreutils/coreutils_6.9.bb') diff --git a/recipes-core/coreutils/coreutils_6.9.bb b/recipes-core/coreutils/coreutils_6.9.bb index 0d236b2..ae941fd 100644 --- a/recipes-core/coreutils/coreutils_6.9.bb +++ b/recipes-core/coreutils/coreutils_6.9.bb @@ -28,6 +28,7 @@ SRC_URI = "${GNU_MIRROR}/coreutils/${BP}.tar.bz2 \ file://loadavg.patch \ file://no-man.patch \ file://build-don-t-need-charset.alias-when-building-for-mus.patch \ + file://no-su.patch \ " SRC_URI[md5sum] = "c9607d8495f16e98906e7ed2d9751a06" @@ -78,10 +79,6 @@ do_install() { # in update-alternatives to fail, therefore use lbracket - the name used # for the actual source file. mv ${D}${bindir}/[ ${D}${bindir}/lbracket.${BPN} - - # Newer versions of coreutils do not include su, to mimic this behavior - # we simply remove it. - rm -f ${D}${bindir}/su } inherit update-alternatives -- cgit v1.2.3-54-g00ecf