diff options
Diffstat (limited to 'recipes-core/coreutils/coreutils_6.9.bb')
-rw-r--r-- | recipes-core/coreutils/coreutils_6.9.bb | 5 |
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 | ||
33 | SRC_URI[md5sum] = "c9607d8495f16e98906e7ed2d9751a06" | 34 | SRC_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 | ||
87 | inherit update-alternatives | 84 | inherit update-alternatives |