[OE-core] [PATCH] systemd: Add util-linux-umount to RDEPENDS

Andre McCurdy armccurdy at gmail.com
Thu May 17 19:53:21 UTC 2018


On Thu, May 17, 2018 at 12:15 PM, Fabio Berton
<fabio.berton at ossystems.com.br> wrote:
> Images with systemd fails on reboot with error:
>
>    [FAILED] Failed unmounting Temporary Directory (/tmp).
>
> This happens because busybox umount command doesn't has -c
> option. Add util-linux-umount that has this option to fix
> this issue.
>
> See details: https://github.com/systemd/systemd/issues/7786

That bug report mentions a fix to busybox. Since the fix is available
in upstream busybox, maybe better to just backport the patch to our
version of buysbox:

  https://git.busybox.net/busybox/commit/?id=426134128112738c97a665170b21153ef0764b7d

> Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
> ---
>  meta/recipes-core/systemd/systemd_237.bb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/recipes-core/systemd/systemd_237.bb b/meta/recipes-core/systemd/systemd_237.bb
> index b7c2113255f..3b0f4580d49 100644
> --- a/meta/recipes-core/systemd/systemd_237.bb
> +++ b/meta/recipes-core/systemd/systemd_237.bb
> @@ -478,7 +478,7 @@ FILES_${PN} = " ${base_bindir}/* \
>
>  FILES_${PN}-dev += "${base_libdir}/security/*.la ${datadir}/dbus-1/interfaces/ ${sysconfdir}/rpm/macros.systemd"
>
> -RDEPENDS_${PN} += "kmod dbus util-linux-mount udev (= ${EXTENDPKGV}) util-linux-agetty"
> +RDEPENDS_${PN} += "kmod dbus util-linux-mount util-linux-umount udev (= ${EXTENDPKGV}) util-linux-agetty"
>  RDEPENDS_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'serial-getty-generator', '', 'systemd-serialgetty', d)}"
>  RDEPENDS_${PN} += "volatile-binds update-rc.d"
>
> --
> 2.14.2
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list