diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2011-11-16 23:01:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-30 15:38:29 +0000 |
commit | 8a58832280086b4f688ee1283ff6c66e04a67bd0 (patch) | |
tree | 684750c1dcd838bef3110c1709a8d6cd7e758a9c | |
parent | c91fdcf3a05e55f5e800205557906c8627218665 (diff) | |
download | poky-8a58832280086b4f688ee1283ff6c66e04a67bd0.tar.gz |
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>
-rw-r--r-- | meta/recipes-core/util-linux/util-linux.inc | 8 | ||||
-rw-r--r-- | meta/recipes-core/util-linux/util-linux_2.19.1.bb | 2 |
2 files changed, 9 insertions, 1 deletions
diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc index 855a54572c..acc4a39c49 100644 --- a/meta/recipes-core/util-linux/util-linux.inc +++ b/meta/recipes-core/util-linux/util-linux.inc | |||
@@ -236,6 +236,14 @@ pkg_prerm_util-linux-fdisk () { | |||
236 | update-alternatives --remove fdisk fdisk.${PN} | 236 | update-alternatives --remove fdisk fdisk.${PN} |
237 | } | 237 | } |
238 | 238 | ||
239 | pkg_postinst_util-linux-agetty () { | ||
240 | update-alternatives --install ${base_sbindir}/getty getty agetty 100 | ||
241 | } | ||
242 | |||
243 | pkg_prerm_util-linux-agetty () { | ||
244 | update-alternatives --remove getty agetty | ||
245 | } | ||
246 | |||
239 | pkg_postinst_util-linux-mount () { | 247 | pkg_postinst_util-linux-mount () { |
240 | update-alternatives --install ${base_bindir}/mount mount mount.${PN} 100 | 248 | update-alternatives --install ${base_bindir}/mount mount mount.${PN} 100 |
241 | } | 249 | } |
diff --git a/meta/recipes-core/util-linux/util-linux_2.19.1.bb b/meta/recipes-core/util-linux/util-linux_2.19.1.bb index b65e761b68..82040eff78 100644 --- a/meta/recipes-core/util-linux/util-linux_2.19.1.bb +++ b/meta/recipes-core/util-linux/util-linux_2.19.1.bb | |||
@@ -1,5 +1,5 @@ | |||
1 | MAJOR_VERSION = "2.19" | 1 | MAJOR_VERSION = "2.19" |
2 | PR = "r11" | 2 | PR = "r12" |
3 | require util-linux.inc | 3 | require util-linux.inc |
4 | 4 | ||
5 | # note that `lscpu' is under GPLv3+ | 5 | # note that `lscpu' is under GPLv3+ |