[oe-commits] Marcin Juszkiewicz : util-linux-ng: swapoff is symlink to swapon

git version control git at git.openembedded.org
Tue Mar 30 12:09:30 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: fd43073321f6a47c7d8e6704019dc5021563bd20
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=fd43073321f6a47c7d8e6704019dc5021563bd20

Author: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>
Date:   Tue Mar 30 14:05:35 2010 +0200

util-linux-ng: swapoff is symlink to swapon

Signed-off-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>

---

 recipes/util-linux-ng/util-linux-ng.inc |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc
index 7c6c8e9..20fe25f 100644
--- a/recipes/util-linux-ng/util-linux-ng.inc
+++ b/recipes/util-linux-ng/util-linux-ng.inc
@@ -8,7 +8,7 @@ inherit autotools
 
 DEFAULT_PREFERENCE = "-1"
 
-INC_PR = "r17"
+INC_PR = "r18"
 
 # allows for a release candidate
 RC ?= ""
@@ -257,12 +257,12 @@ pkg_prerm_util-linux-ng-losetup () {
 }
 
 pkg_postinst_util-linux-ng-swaponoff () {
-	update-alternatives --install ${base_sbindir}/swapoff swapoff swapoff.${PN} 100
+	update-alternatives --install ${base_sbindir}/swapoff swapoff swapon.${PN} 100
 	update-alternatives --install ${base_sbindir}/swapon swapon swapon.${PN} 100
 }
 
 pkg_prerm_util-linux-ng-swaponoff () {
-	update-alternatives --remove swapoff swapoff.${PN}
+	update-alternatives --remove swapoff swapon.${PN}
 	update-alternatives --remove swapon swapon.${PN}
 }
 





More information about the Openembedded-commits mailing list