Skip to content
Commit efdfd0d5 authored by Stefan Agner's avatar Stefan Agner Committed by Richard Purdie
Browse files

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: default avatarStefan Agner <stefan.agner@toradex.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent a4cdda01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment