util-linux: add missing u-a calls for setsid chrt

* someone added them to usrbinprogs_a, but without u-a calls added
* similar problem is with chfn chsh newgrp, but those are not built in
  current version

(From OE-Core rev: 14bc68b03e65a9236a1c0d16403371d4ef742588)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Martin Jansa 2011-11-10 16:03:26 +01:00 committed by Richard Purdie
parent fa814476fb
commit bca2c0b614
1 changed files with 4 additions and 0 deletions

View File

@ -191,6 +191,8 @@ pkg_postinst_${PN} () {
update-alternatives --install ${bindir}/mesg mesg mesg.${PN} 100
update-alternatives --install ${bindir}/renice renice renice.${PN} 100
update-alternatives --install ${bindir}/wall wall wall.${PN} 100
update-alternatives --install ${bindir}/setsid setsid setsid.${PN} 100
update-alternatives --install ${bindir}/chrt chrt chrt.${PN} 100
update-alternatives --install ${bindir}/flock flock flock.${PN} 100
# There seems to be problem, atleast on nslu2, with these, untill they are
@ -221,6 +223,8 @@ pkg_prerm_${PN} () {
update-alternatives --remove mesg mesg.${PN}
update-alternatives --remove renice renice.${PN}
update-alternatives --remove wall wall.${PN}
update-alternatives --remove setsid setsid.${PN}
update-alternatives --remove chrt chrt.${PN}
update-alternatives --remove flock flock.${PN}
}