summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2010-04-15 19:19:43 +0400
committerRoman I Khimov <khimov@altell.ru>2010-04-22 22:04:08 +0400
commite235bf7138d3f256e666d4f8c0b001ab87fe47b4 (patch)
tree524a0a0edf10b2955fbe036bc7ac193ed945b568 /recipes
parent539d5a80beb6b5892c83ba6b8d27d622c3cdb114 (diff)
util-linux-ng: handle setsid through alternatives too
It can be provided by busybox. Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes')
-rw-r--r--recipes/util-linux-ng/util-linux-ng.inc5
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 6f8e9b3c06..6aea136e56 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