summaryrefslogtreecommitdiff
path: root/recipes/util-linux-ng
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-06-20 12:25:01 +0200
committerKoen Kooi <koen@openembedded.org>2009-06-20 12:25:01 +0200
commitc37cfc7c523a3765807efaa827d78b9d4f3729e2 (patch)
tree359686ef6d6665c8f7e5c618fcf47ebe69afe737 /recipes/util-linux-ng
parent1b460b4e284436b141e49237274899702604d240 (diff)
util-linux-ng: only delete bogus symlink, not all swap* binaries for crazy people that have sbindir == base_sbindir
Diffstat (limited to 'recipes/util-linux-ng')
-rw-r--r--recipes/util-linux-ng/util-linux-ng.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc
index 9bfcc03e43..59d2f0818b 100644
--- a/recipes/util-linux-ng/util-linux-ng.inc
+++ b/recipes/util-linux-ng/util-linux-ng.inc
@@ -131,7 +131,7 @@ do_install () {
install -d ${D}${sysconfdir}/default/
echo 'MOUNTALL="-t nonfs,nosmbfs,noncpfs"' > ${D}${sysconfdir}/default/mountall
- rm ${D}${sbindir}/swap* -f
+ 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}