util-linux-ng: handle chrt through alternatives too
authorRoman I Khimov <khimov@altell.ru>
Tue, 20 Apr 2010 10:33:56 +0000 (14:33 +0400)
committerRoman I Khimov <khimov@altell.ru>
Thu, 22 Apr 2010 20:07:17 +0000 (00:07 +0400)
Can be provided by busybox.

Signed-off-by: Roman I Khimov <khimov@altell.ru>
recipes/util-linux-ng/util-linux-ng.inc

index 6aea136..fa4431e 100644 (file)
@@ -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