From 8ca43c4a78ebc346fecfd1bffe4db17c1f4bfe22 Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Tue, 17 Sep 2013 12:15:39 +0200 Subject: [PATCH] initscripts: add runtime dependency on util-linux umount The initscripts package includes a '/etc/init.d/umountfs' script used for reboot/poweroff purposes. That script calls the 'umount' command but seems that the combination of busybox' umount + linux-3.x fails in this script (it hangs without completing the reboot/poweroff). So as a workaround use the umount command from util-linux package https://jira.digi.com/browse/DEL-633 Signed-off-by: Javier Viguera --- .../recipes-core/initscripts/initscripts_1.0.bbappend | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meta-digi-dey/recipes-core/initscripts/initscripts_1.0.bbappend b/meta-digi-dey/recipes-core/initscripts/initscripts_1.0.bbappend index 70acfb9eb..0fedfbc0f 100644 --- a/meta-digi-dey/recipes-core/initscripts/initscripts_1.0.bbappend +++ b/meta-digi-dey/recipes-core/initscripts/initscripts_1.0.bbappend @@ -3,5 +3,12 @@ PRINC := "${@int(PRINC) + 1}" PR_append = "+${DISTRO}" +# The initscripts package includes a '/etc/init.d/umountfs' script used for +# reboot/poweroff purposes. That script calls the 'umount' command but seems +# that the combination of busybox' umount + linux 3.x fails in this script (it +# hangs without completing the reboot/poweroff) +# So as a workaround use the umount command from util-linux package +RDEPENDS_${PN} = "util-linux-umount" + FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"