Skip to content

Commit

Permalink
util-linux-ng: fix broken symlinks
Browse files Browse the repository at this point in the history
* # opkg files util-linux-ng | grep 'halt\|boot' | xargs file
/usr/sbin/fastboot:             broken symbolic link to `/usr/sbin/shutdown'
/usr/sbin/halt:                 broken symbolic link to `shutdown'
/usr/sbin/halt.util-linux-ng:   broken symbolic link to `/usr/sbin/shutdown'
/usr/sbin/fasthalt:             broken symbolic link to `/usr/sbin/shutdown'
/usr/sbin/reboot:               broken symbolic link to `shutdown'
/usr/sbin/reboot.util-linux-ng: broken symbolic link to `/usr/sbin/shutdown'

* this patch close bug 5475
http://bugs.openembedded.org/show_bug.cgi?id=5475

From: Korey Lu <koreylu@gmail.com>
Signed-off-by: Eric Bénard <eric@eukrea.com>
  • Loading branch information
Eric Bénard committed Sep 13, 2010
1 parent 79e96b7 commit cf6bd75
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions recipes/util-linux-ng/util-linux-ng.inc
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -176,10 +176,10 @@ do_install () {


rm ${D}${sbindir}/swapoff -f rm ${D}${sbindir}/swapoff -f
ln -sf ${base_sbindir}/swapon.${PN} ${D}${base_sbindir}/swapoff.${PN} ln -sf ${base_sbindir}/swapon.${PN} ${D}${base_sbindir}/swapoff.${PN}
ln -sf ${sbindir}/shutdown ${D}${sbindir}/reboot.${PN} ln -sf ${base_sbindir}/shutdown ${D}${base_sbindir}/reboot.${PN}
ln -sf ${sbindir}/shutdown ${D}${sbindir}/halt.${PN} ln -sf ${base_sbindir}/shutdown ${D}${base_sbindir}/halt.${PN}
ln -sf ${sbindir}/shutdown ${D}${sbindir}/fastboot ln -sf ${base_sbindir}/shutdown ${D}${base_sbindir}/fastboot
ln -sf ${sbindir}/shutdown ${D}${sbindir}/fasthalt ln -sf ${base_sbindir}/shutdown ${D}${base_sbindir}/fasthalt
} }


python populate_packages_prepend () { python populate_packages_prepend () {
Expand Down

0 comments on commit cf6bd75

Please sign in to comment.