summaryrefslogtreecommitdiff
path: root/recipes/util-linux-ng/util-linux-ng.inc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2010-03-30 14:06:34 +0200
committerMarcin Juszkiewicz <marcin@juszkiewicz.com.pl>2010-03-30 14:09:26 +0200
commitb185cddd04db56ccad4b22dad554385dd95a8aed (patch)
treed7f4e26ae557d8e7451bcf58519b3376c2110667 /recipes/util-linux-ng/util-linux-ng.inc
parentfd43073321f6a47c7d8e6704019dc5021563bd20 (diff)
util-linux-ng: enable reset command
Signed-off-by: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
Diffstat (limited to 'recipes/util-linux-ng/util-linux-ng.inc')
-rw-r--r--recipes/util-linux-ng/util-linux-ng.inc9
1 files changed, 5 insertions, 4 deletions
diff --git a/recipes/util-linux-ng/util-linux-ng.inc b/recipes/util-linux-ng/util-linux-ng.inc
index 20fe25ffd6..d08ffb5cc3 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 = "r18"
+INC_PR = "r19"
# allows for a release candidate
RC ?= ""
@@ -69,7 +69,7 @@ EXTRA_OECONF = "--disable-use-tty-group --disable-makeinstall-chown \
--enable-kill --enable-last --enable-mesg --enable-raw --enable-login-utils \
--enable-arch --enable-init --enable-partx --enable-schedutils \
--with-fsprobe=builtin --enable-libuuid --enable-libblkid \
---enable-fsck"
+--enable-fsck --enable-reset"
LDFLAGS_append_libc-uclibc = " -lintl"
@@ -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"
usrbinprogs_a="chfn chsh hexdump last logger mesg newgrp renice wall"
- binprogs_a="dmesg kill more umount mount login"
+ binprogs_a="dmesg kill more umount mount login reset"
if [ "${base_sbindir}" != "${sbindir}" ]; then
mkdir -p ${D}${base_sbindir}
@@ -206,6 +206,7 @@ pkg_postinst_${PN} () {
update-alternatives --install ${base_bindir}/login login login.${PN} 100
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
# There seems to be problem, atleast on nslu2, with these, until they are
# fixed the busybox ones have higher priority
@@ -219,7 +220,7 @@ pkg_prerm_${PN} () {
test -x ${base_sbindir}/pivot_root.${PN} && \
update-alternatives --remove pivot_root pivot_root.${PN}
- for i in dmesg kill more halt hwclock mkswap reboot shutdown sln mkfs.minix fsck.minix hecdump last logger mesg renice wall vipw vigr chfn newgrp chsh login ; do
+ for i in dmesg kill more halt hwclock mkswap reboot shutdown sln mkfs.minix fsck.minix hecdump last logger mesg renice wall vipw vigr chfn newgrp chsh login reset; do
update-alternatives --remove $i $i.${PN}
done
}