]> code.ossystems Code Review - openembedded-core.git/commit
udev-extraconf: Use the canonical file name of systemd
authorKevin Hao <kexin.hao@windriver.com>
Mon, 22 Oct 2018 11:58:38 +0000 (19:58 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 25 Oct 2018 13:36:34 +0000 (14:36 +0100)
commit352b3f0b07370d8df7d6ae13c0bac0697f7751ba
tree55ef367bf3e32f79cfa1f5e5838ccf0a10827bd7
parentecf1e696a03f11e19247c4f37e17de7084d0056c
udev-extraconf: Use the canonical file name of systemd

The new version of systemd has changed the symbolic link between
/sbin/init and /lib/systemd/systemd to relative. So the output of
the command 'readlink /sbin/init' become:
    ../lib/systemd/systemd

Then it causes the following check of "/lib/systemd/systemd" to return
false. Fix this issue by using the canonical file name of the systemd.

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