aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/util-linux-ng/util-linux-ng.inc
diff options
context:
space:
mode:
authorLeon Woestenberg <leon@sidebranch.com>2009-04-14 22:32:14 +0200
committerLeon Woestenberg <leon@sidebranch.com>2009-04-14 23:01:21 +0200
commit2c241e86061652291e4f2a1382460449fc9e2f73 (patch)
tree5c7613f19f41facd8af17ded3d95335a978f5d9d /recipes/util-linux-ng/util-linux-ng.inc
parent5f97fcad85f0d14f1067e793a4218de95c70f436 (diff)
downloadopenembedded-2c241e86061652291e4f2a1382460449fc9e2f73.tar.gz
openembedded-2c241e86061652291e4f2a1382460449fc9e2f73.tar.bz2
openembedded-2c241e86061652291e4f2a1382460449fc9e2f73.zip
util-linux-ng: Fixed dangling symlinks.
Diffstat (limited to 'recipes/util-linux-ng/util-linux-ng.inc')
-rw-r--r--recipes/util-linux-ng/util-linux-ng.inc19
1 files changed, 8 insertions, 11 deletions
diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc
index 443adf29bc..dda9792ee0 100644
--- a/recipes/util-linux-ng/util-linux-ng.inc
+++ b/recipes/util-linux-ng/util-linux-ng.inc
@@ -5,14 +5,11 @@ DEPENDS = "udev zlib ncurses e2fsprogs-libs"
inherit autotools
-# I'm finishing this recipe during the 2.13.1 candidate release cycle
-# @todo Remove $RC later. See if patches are needed. Move files from /usr/*.
-# -- Leon 'likewise' Woestenberg
-
-#RC="-rc2"
-RC=""
DEFAULT_PREFERENCE = "-1"
+# allows for a release candidate
+RC ?= ""
+
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/util-linux-ng/v${PV}/util-linux-ng-${PV}${RC}.tar.bz2"
PACKAGES =+ "util-linux-ng-fdisk util-linux-ng-cfdisk util-linux-ng-sfdisk util-linux-ng-swaponoff util-linux-ng-losetup util-linux-ng-umount util-linux-ng-mount util-linux-ng-readprofile "
@@ -114,11 +111,11 @@ do_install () {
install -d ${D}${sysconfdir}/default/
echo 'MOUNTALL="-t nonfs,nosmbfs,noncpfs"' > ${D}${sysconfdir}/default/mountall
- ln -sf ${base_sbindir}/swapon ${D}${base_sbindir}/swapoff.${PN}
- 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
+ ln -sf ${sbindir}/swapon ${D}${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
}
pkg_postinst_${PN} () {