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

git version control git at git.openembedded.org
Thu Apr 22 18:04:47 UTC 2010


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

Author: Roman I Khimov <khimov at altell.ru>
Date:   Thu Apr 15 19:19:43 2010 +0400

util-linux-ng: handle setsid through alternatives too

It 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 6f8e9b3..6aea136 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 = "r21"
+INC_PR = "r22"
 
 # 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"
+        usrbinprogs_a="chfn chsh hexdump last logger mesg newgrp renice wall setsid"
         binprogs_a="dmesg kill more umount mount login reset"
 
         if [ "${base_sbindir}" != "${sbindir}" ]; then
@@ -208,6 +208,7 @@ pkg_postinst_${PN} () {
 	update-alternatives --install ${base_sbindir}/vipw vipw vipw.${PN} 100
 	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
 	
 	# 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