diff options
-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+ |