[oe-commits] Roman I Khimov : util-linux-ng: handle chrt through alternatives too

git version control git at git.openembedded.org
Thu Apr 22 20:08:03 UTC 2010


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

Author: Roman I Khimov <khimov at altell.ru>
Date:   Tue Apr 20 14:33:56 2010 +0400

util-linux-ng: handle chrt through alternatives too

Can be provided by busybox.

Signed-off-by: Roman I Khimov <khimov at altell.ru>

---

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

diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc
index 6aea136..fa4431e 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 = "r22"
+INC_PR = "r23"
 
 # allows for a release candidate
 RC ?= ""
@@ -125,7 +125,7 @@ do_install () {
 
         sbinprogs="agetty blockdev ctrlaltdel cfdisk vipw vigr"
         sbinprogs_a="pivot_root hwclock mkswap shutdown mkfs.minix fsck.minix losetup swapon fdisk readprofile fsck blkid"
-        usrbinprogs_a="chfn chsh hexdump last logger mesg newgrp renice wall setsid"
+        usrbinprogs_a="chfn chsh hexdump last logger mesg newgrp renice wall setsid chrt"
         binprogs_a="dmesg kill more umount mount login reset"
 
         if [ "${base_sbindir}" != "${sbindir}" ]; then
@@ -209,6 +209,7 @@ pkg_postinst_${PN} () {
 	update-alternatives --install ${base_sbindir}/vigr vigr vigr.${PN} 100
 	update-alternatives --install ${bindir}/reset reset reset.${PN} 100
 	update-alternatives --install ${bindir}/setsid setsid setsid.${PN} 100
+	update-alternatives --install ${bindir}/chrt chrt chrt.${PN} 100
 	
 	# There seems to be problem, atleast on nslu2, with these, until they are
 	# fixed the busybox ones have higher priority





More information about the Openembedded-commits mailing list