]> code.ossystems Code Review - openembedded-core.git/commit
classes: rootfs-postcommands: include /etc/fstab in overlayfs_qa_check
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Wed, 2 Mar 2022 14:33:28 +0000 (15:33 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 4 Mar 2022 17:13:06 +0000 (17:13 +0000)
commit9db988dae6dbf6da7b066728bc13b59a5c45b75c
tree516c2b2413e30a6e70ac0ce0bf3cdc31fa99a84d
parentccad2769b4031aa1b5952ecc78ae3f4274f96710
classes: rootfs-postcommands: include /etc/fstab in overlayfs_qa_check

The systemd init manager support mount point configuration via mount
units and /etc/fstab. 'Mounts listed in /etc/fstab will be converted
into native units dynamically at boot and when the configuration of
the system manager is reloaded. In general, configuring mount points
through /etc/fstab is the preferred approach.' [1]

Read mount points from /etc/fstab to determine dynamic mount units.

[1] https://www.freedesktop.org/software/systemd/man/systemd.mount.html

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/rootfs-postcommands.bbclass
meta/lib/oeqa/selftest/cases/overlayfs.py