mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
oeqa/selftest: drop image_feature test from overlayfs
The test checked the incorrect class use with INHERIT. This functionality is now covered by bitbake (From OE-Core rev: ec4799b7230ed7e99cf2b13fdf8f6d59a0e12795) Signed-off-by: Vyacheslav Yurkov <v.yurkov@precitec.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b8baa464f0
commit
9277742901
@@ -333,24 +333,14 @@ EXTRA_IMAGE_FEATURES += "package-management"
|
||||
self.assertTrue("overlayfs-etc" in res.output, msg=res.output)
|
||||
self.assertTrue("package-management" in res.output, msg=res.output)
|
||||
|
||||
def test_image_feature_is_missing_class_included(self):
|
||||
configAppend = """
|
||||
INHERIT += "overlayfs-etc"
|
||||
"""
|
||||
self.run_check_image_feature(configAppend)
|
||||
|
||||
def test_image_feature_is_missing(self):
|
||||
self.run_check_image_feature()
|
||||
|
||||
def run_check_image_feature(self, appendToConfig=""):
|
||||
"""
|
||||
Summary: Overlayfs-etc class is not applied when image feature is not set
|
||||
even if we inherit it directly,
|
||||
Expected: Image is created successfully but /etc is not an overlay
|
||||
Author: Vyacheslav Yurkov <uvv.mail@gmail.com>
|
||||
"""
|
||||
|
||||
config = f"""
|
||||
config = """
|
||||
DISTRO_FEATURES:append = " systemd"
|
||||
|
||||
# Use systemd as init manager
|
||||
@@ -366,7 +356,6 @@ EXTRA_IMAGE_FEATURES += "read-only-rootfs"
|
||||
# Image configuration for overlayfs-etc
|
||||
OVERLAYFS_ETC_MOUNT_POINT = "/data"
|
||||
OVERLAYFS_ETC_DEVICE = "/dev/sda3"
|
||||
{appendToConfig}
|
||||
"""
|
||||
|
||||
self.write_config(config)
|
||||
|
||||
Reference in New Issue
Block a user