summaryrefslogtreecommitdiffstats
path: root/recipes-core/coreutils/coreutils_6.9.bb
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-08-14 11:37:30 +0100
committerRoss Burton <ross.burton@intel.com>2018-08-14 12:24:24 +0100
commit4df61a34f13e9745f05a30506e9a34cdbfe0c252 (patch)
treebb2fa138ba4fed387ba655d6bd538f3a3a0c046a /recipes-core/coreutils/coreutils_6.9.bb
parentf038b824192526a0d561ef977bba7c3fb1ed3fab (diff)
downloadmeta-gplv2-4df61a34f13e9745f05a30506e9a34cdbfe0c252.tar.gz
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 <ross.burton@intel.com>
Diffstat (limited to 'recipes-core/coreutils/coreutils_6.9.bb')
-rw-r--r--recipes-core/coreutils/coreutils_6.9.bb5
1 files changed, 1 insertions, 4 deletions
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 \
28 file://loadavg.patch \ 28 file://loadavg.patch \
29 file://no-man.patch \ 29 file://no-man.patch \
30 file://build-don-t-need-charset.alias-when-building-for-mus.patch \ 30 file://build-don-t-need-charset.alias-when-building-for-mus.patch \
31 file://no-su.patch \
31 " 32 "
32 33
33SRC_URI[md5sum] = "c9607d8495f16e98906e7ed2d9751a06" 34SRC_URI[md5sum] = "c9607d8495f16e98906e7ed2d9751a06"
@@ -78,10 +79,6 @@ do_install() {
78 # in update-alternatives to fail, therefore use lbracket - the name used 79 # in update-alternatives to fail, therefore use lbracket - the name used
79 # for the actual source file. 80 # for the actual source file.
80 mv ${D}${bindir}/[ ${D}${bindir}/lbracket.${BPN} 81 mv ${D}${bindir}/[ ${D}${bindir}/lbracket.${BPN}
81
82 # Newer versions of coreutils do not include su, to mimic this behavior
83 # we simply remove it.
84 rm -f ${D}${bindir}/su
85} 82}
86 83
87inherit update-alternatives 84inherit update-alternatives