1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

util-linux: use u-a to provide /sbin/getty from util-linux-agetty

* inittab and systemd-serialgetty expects /sbin/getty not agetty

(From OE-Core rev: 9e5c69860e6b687b93e653510ceba8e1f9c6d0f5)

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-16 23:01:50 +01:00
committed by Richard Purdie
parent c91fdcf3a0
commit 8a58832280
2 changed files with 9 additions and 1 deletions
@@ -236,6 +236,14 @@ pkg_prerm_util-linux-fdisk () {
update-alternatives --remove fdisk fdisk.${PN}
}
pkg_postinst_util-linux-agetty () {
update-alternatives --install ${base_sbindir}/getty getty agetty 100
}
pkg_prerm_util-linux-agetty () {
update-alternatives --remove getty agetty
}
pkg_postinst_util-linux-mount () {
update-alternatives --install ${base_bindir}/mount mount mount.${PN} 100
}
@@ -1,5 +1,5 @@
MAJOR_VERSION = "2.19"
PR = "r11"
PR = "r12"
require util-linux.inc
# note that `lscpu' is under GPLv3+