diff options
Diffstat (limited to 'packages/coreutils/coreutils_5.1.3.bb')
-rw-r--r-- | packages/coreutils/coreutils_5.1.3.bb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/packages/coreutils/coreutils_5.1.3.bb b/packages/coreutils/coreutils_5.1.3.bb index 2277ae6bc7..da9b214af5 100644 --- a/packages/coreutils/coreutils_5.1.3.bb +++ b/packages/coreutils/coreutils_5.1.3.bb @@ -1,4 +1,4 @@ -require coreutils.inc +require coreutils.inc PR = "r8" @@ -26,10 +26,10 @@ sbindir_progs= "chroot" do_install () { autotools_do_install - + # Renaming the utilities that should go in /usr/bin for i in ${bindir_progs}; do mv ${D}${bindir}/$i ${D}${bindir}/$i.${PN}; done - + # Renaming and moving the utilities that should go in /bin (FHS) install -d ${D}${base_bindir} for i in ${base_bindir_progs}; do mv ${D}${bindir}/$i ${D}${base_bindir}/$i.${PN}; done @@ -45,7 +45,7 @@ do_install () { # hostname and uptime separated. busybox's versions are preferred mv ${D}${bindir}/hostname ${D}${base_bindir}/hostname.${PN} mv ${D}${bindir}/uptime ${D}${bindir}/uptime.${PN} - + } pkg_postinst_${PN} () { @@ -54,11 +54,11 @@ pkg_postinst_${PN} () { # The utilities in /bin for i in ${base_bindir_progs}; do update-alternatives --install ${base_bindir}/$i $i $i.${PN} 100; done - + # The utilities in /usr/sbin for i in ${sbindir_progs}; do update-alternatives --install ${sbindir}/$i $i $i.${PN} 100; done - # Special cases. uptime and hostname is broken, prefer busybox's version. [ needs to be treated separately. + # Special cases. uptime and hostname is broken, prefer busybox's version. [ needs to be treated separately. update-alternatives --install ${bindir}/uptime uptime uptime.${PN} 10 update-alternatives --install ${base_bindir}/hostname hostname hostname.${PN} 10 update-alternatives --install '${bindir}/[' '[' 'lbracket.${PN}' 100 |