diff options
| -rw-r--r-- | meta/recipes-core/coreutils/coreutils_6.9.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-core/coreutils/coreutils_6.9.bb b/meta/recipes-core/coreutils/coreutils_6.9.bb index 1b25320628..37d8dc9d51 100644 --- a/meta/recipes-core/coreutils/coreutils_6.9.bb +++ b/meta/recipes-core/coreutils/coreutils_6.9.bb | |||
| @@ -8,7 +8,7 @@ BUGTRACKER = "http://debbugs.gnu.org/coreutils" | |||
| 8 | LICENSE = "GPLv2+" | 8 | LICENSE = "GPLv2+" |
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \ |
| 10 | file://src/ls.c;beginline=4;endline=16;md5=15ed60f67b1db5fedd5dbc37cf8a9543" | 10 | file://src/ls.c;beginline=4;endline=16;md5=15ed60f67b1db5fedd5dbc37cf8a9543" |
| 11 | PR = "r3" | 11 | PR = "r4" |
| 12 | DEPENDS = "coreutils-native-${PV}" | 12 | DEPENDS = "coreutils-native-${PV}" |
| 13 | DEPENDS_class-native = "gettext-native" | 13 | DEPENDS_class-native = "gettext-native" |
| 14 | 14 | ||
| @@ -60,6 +60,10 @@ do_install() { | |||
| 60 | # in update-alternatives to fail, therefore use lbracket - the name used | 60 | # in update-alternatives to fail, therefore use lbracket - the name used |
| 61 | # for the actual source file. | 61 | # for the actual source file. |
| 62 | mv ${D}${bindir}/[ ${D}${bindir}/lbracket.${BPN} | 62 | mv ${D}${bindir}/[ ${D}${bindir}/lbracket.${BPN} |
| 63 | |||
| 64 | # Newer versions of coreutils do not include su, to mimic this behavior | ||
| 65 | # we simply remove it. | ||
| 66 | rm -f ${D}${bindir}/su | ||
| 63 | } | 67 | } |
| 64 | 68 | ||
| 65 | inherit update-alternatives | 69 | inherit update-alternatives |
