[oe-commits] [Bug 5475] New: broken symbolic links in util-linux-ng package
bugzilla-daemon at git.openembedded.org
bugzilla-daemon at git.openembedded.org
Sat Sep 11 10:20:06 UTC 2010
http://bugs.openembedded.org/show_bug.cgi?id=5475
Summary: broken symbolic links in util-linux-ng package
Product: Openembedded
Version: org.openembedded.dev
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: trivial
Priority: P3
Component: unspecified
AssignedTo: openembedded-commits at lists.openembedded.org
ReportedBy: koreylu at gmail.com
CC: koreylu at gmail.com
The util-linux-ng package has these broken symbolic links.
root at om-gta02 ~ # 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'
I guess they should be in /sbin/ linking to /sbin/shutdown.
diff --git a/recipes/util-linux-ng/util-linux-ng.inc
b/recipes/util-linux-ng/util-linux-ng.inc
index cbdf68d..22ac0da 100644
--- a/recipes/util-linux-ng/util-linux-ng.inc
+++ b/recipes/util-linux-ng/util-linux-ng.inc
@@ -169,10 +169,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 () {
--
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Openembedded-commits
mailing list