summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/util-linux/util-linux.inc8
-rw-r--r--meta/recipes-core/util-linux/util-linux_2.19.1.bb2
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
239pkg_postinst_util-linux-agetty () {
240 update-alternatives --install ${base_sbindir}/getty getty agetty 100
241}
242
243pkg_prerm_util-linux-agetty () {
244 update-alternatives --remove getty agetty
245}
246
239pkg_postinst_util-linux-mount () { 247pkg_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 @@
1MAJOR_VERSION = "2.19" 1MAJOR_VERSION = "2.19"
2PR = "r11" 2PR = "r12"
3require util-linux.inc 3require util-linux.inc
4 4
5# note that `lscpu' is under GPLv3+ 5# note that `lscpu' is under GPLv3+