[oe-commits] Eric Bénard : util-linux-ng: fix broken symlinks
git version control
git at git.openembedded.org
Mon Sep 13 11:11:31 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: cf6bd7557d3633825191b8d1e2aa80d0fe0d2549
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=cf6bd7557d3633825191b8d1e2aa80d0fe0d2549
Author: Eric Bénard <eric at eukrea.com>
Date: Mon Sep 13 12:28:36 2010 +0200
util-linux-ng: fix broken symlinks
* # 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 at gmail.com>
Signed-off-by: Eric Bénard <eric at eukrea.com>
---
recipes/util-linux-ng/util-linux-ng.inc | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc
index 35502f3..421fda7 100644
--- a/recipes/util-linux-ng/util-linux-ng.inc
+++ b/recipes/util-linux-ng/util-linux-ng.inc
@@ -176,10 +176,10 @@ do_install () {
rm ${D}${sbindir}/swapoff -f
ln -sf ${base_sbindir}/swapon.${PN} ${D}${base_sbindir}/swapoff.${PN}
- ln -sf ${sbindir}/shutdown ${D}${sbindir}/reboot.${PN}
- ln -sf ${sbindir}/shutdown ${D}${sbindir}/halt.${PN}
- ln -sf ${sbindir}/shutdown ${D}${sbindir}/fastboot
- ln -sf ${sbindir}/shutdown ${D}${sbindir}/fasthalt
+ ln -sf ${base_sbindir}/shutdown ${D}${base_sbindir}/reboot.${PN}
+ ln -sf ${base_sbindir}/shutdown ${D}${base_sbindir}/halt.${PN}
+ ln -sf ${base_sbindir}/shutdown ${D}${base_sbindir}/fastboot
+ ln -sf ${base_sbindir}/shutdown ${D}${base_sbindir}/fasthalt
}
python populate_packages_prepend () {
More information about the Openembedded-commits
mailing list