[oe-commits] Koen Kooi : util-linux-ng: only delete bogus symlink, not all swap* binaries for crazy people that have sbindir == base_sbindir
git version control
git at git.openembedded.org
Sat Jun 20 10:26:32 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: c37cfc7c523a3765807efaa827d78b9d4f3729e2
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=c37cfc7c523a3765807efaa827d78b9d4f3729e2
Author: Koen Kooi <koen at openembedded.org>
Date: Sat Jun 20 12:25:01 2009 +0200
util-linux-ng: only delete bogus symlink, not all swap* binaries for crazy people that have sbindir == base_sbindir
---
recipes/util-linux-ng/util-linux-ng.inc | 2 +-
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 9bfcc03..59d2f08 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}
More information about the Openembedded-commits
mailing list