]> code.ossystems Code Review - openembedded-core.git/commit
initramfs-framework: check successful mount using mountpoint
authorStefan Agner <stefan.agner@toradex.com>
Wed, 3 Jun 2020 19:50:11 +0000 (19:50 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Jun 2020 12:42:01 +0000 (13:42 +0100)
commitefdfd0d5dde4dde43cb67ef28a90d5f5fe3e0ac6
tree4fb40c2a141bb0e6ecd11ea4f1674737608e2b29
parenta4cdda012f613d8d80203b9f5fc737d8511d16ce
initramfs-framework: check successful mount using mountpoint

Instead of checking for existence of /dev in the mounted file system use
mountpoint to check if a root file system has been mounted. This allows
to use the rootfs module for OSTree based rootfs as well, where the file
system rootfs does not have any of the regular directories (at least
when using the modern layout).

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initrdscripts/initramfs-framework/rootfs