From: Koen Kooi Date: Sat, 20 Jun 2009 10:25:01 +0000 (+0200) Subject: util-linux-ng: only delete bogus symlink, not all swap* binaries for crazy people... X-Git-Tag: Release-2010-05/1~3087^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c37cfc7c523a3765807efaa827d78b9d4f3729e2;p=openembedded.git util-linux-ng: only delete bogus symlink, not all swap* binaries for crazy people that have sbindir == base_sbindir --- 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}