summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>2022-03-02 15:33:28 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-04 17:14:15 +0000
commit2126584d61c1d94c88cceb4f5bff14d8ec60cb91 (patch)
tree8e74739c28266aa041d01604bdf4d044da612240 /meta/lib
parentb78f8b7cfa5ac9ff9254e05b00da3b1679c37876 (diff)
downloadpoky-2126584d61c1d94c88cceb4f5bff14d8ec60cb91.tar.gz
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 (From OE-Core rev: 9db988dae6dbf6da7b066728bc13b59a5c45b75c) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/selftest/cases/overlayfs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/selftest/cases/overlayfs.py b/meta/lib/oeqa/selftest/cases/overlayfs.py
index 82007fade7..79d36fa93c 100644
--- a/meta/lib/oeqa/selftest/cases/overlayfs.py
+++ b/meta/lib/oeqa/selftest/cases/overlayfs.py
@@ -61,9 +61,9 @@ DISTRO_FEATURES += "systemd overlayfs"
61 self.add_overlay_conf_to_machine() 61 self.add_overlay_conf_to_machine()
62 62
63 res = bitbake('core-image-minimal', ignore_status=True) 63 res = bitbake('core-image-minimal', ignore_status=True)
64 line = getline(res, "Unit name mnt-overlay.mount not found in systemd unit directories") 64 line = getline(res, " Mount path /mnt/overlay not found in fstat and unit mnt-overlay.mount not found in systemd unit directories")
65 self.assertTrue(line and line.startswith("WARNING:"), msg=res.output) 65 self.assertTrue(line and line.startswith("WARNING:"), msg=res.output)
66 line = getline(res, "Not all mount units are installed by the BSP") 66 line = getline(res, "Not all mount paths and units are installed in the image")
67 self.assertTrue(line and line.startswith("ERROR:"), msg=res.output) 67 self.assertTrue(line and line.startswith("ERROR:"), msg=res.output)
68 68
69 def test_mount_unit_not_set(self): 69 def test_mount_unit_not_set(self):