]> code.ossystems Code Review - openembedded-core.git/commit
udev-extraconf: Fix the recursively dependency for the systemd-mount
authorKevin Hao <kexin.hao@windriver.com>
Mon, 22 Oct 2018 11:58:39 +0000 (19:58 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 25 Oct 2018 13:36:34 +0000 (14:36 +0100)
commitfcf6a4d629c05048cbb7298e285d84ff73a320d2
tree98dea4de6a9fd67513ae40700064142cb6e51574
parent352b3f0b07370d8df7d6ae13c0bac0697f7751ba
udev-extraconf: Fix the recursively dependency for the systemd-mount

The commit 4ca9402c3720 ("udev-extraconf: Add systemd-mount to
udev-extraconf/mount.sh") uses the systemd-mount to mount the new added
disk partitions if systemd is used. But it forgot to move the codes
which tries to mount the partition by using the configuration in
/etc/fstab to the non-systemd function. And it will cause the
systemd-mount try to mount the partition synchronously and trigger a
recursively dependency like the following:
    dev-sda1.device -> run-media-sda1.mount -> dev-sda1.device

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/udev/udev-extraconf/mount.sh