]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
oeqa/selftest/bbclasses: Drop systemd+sysvinit test
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 13 Feb 2026 23:58:54 +0000 (23:58 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 16 Feb 2026 23:25:50 +0000 (23:25 +0000)
This configuration is no longer possible with recent systemd changes, drop
the test.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/selftest/cases/bbclasses.py

index 10545ebe658ecba762095bca24a35ea0ab65dd3b..8595bb5d6f15bec2b2c989ba0b8f27ea332e7b83 100644 (file)
@@ -54,29 +54,6 @@ VIRTUAL-RUNTIME_init_manager = "systemd"
         self.fileExists("{D}{systemd_system_unitdir}/{BPN}.service")
         self.fileNotExists("{D}{sysconfdir}")
 
-    def test_systemd_and_sysvinit_in_distro(self):
-        """
-        Summary:    Verify that both systemd and sysvinit files are installed
-                    when both the systemd and sysvinit distro features are
-                    enabled.
-        Expected:   Systemd service file and sysvinit initscript exist.
-        Product:    OE-Core
-        Author:     Peter Kjellerstedt <peter.kjellerstedt@axis.com>
-        """
-
-        self.write_config("""
-DISTRO_FEATURES:append = " systemd sysvinit usrmerge"
-VIRTUAL-RUNTIME_init_manager = "systemd"
-""")
-        bitbake("systemd-only systemd-and-sysvinit -c install")
-
-        self.getVars("systemd-only")
-        self.fileExists("{D}{systemd_system_unitdir}/{BPN}.service")
-
-        self.getVars("systemd-and-sysvinit")
-        self.fileExists("{D}{systemd_system_unitdir}/{BPN}.service")
-        self.fileExists("{D}{INIT_D_DIR}/{BPN}")
-
     def test_sysvinit_in_distro(self):
         """
         Summary:    Verify that no systemd service files are installed when the