From: Richard Purdie Date: Fri, 13 Feb 2026 23:58:54 +0000 (+0000) Subject: oeqa/selftest/bbclasses: Drop systemd+sysvinit test X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=332c94b91ac36c9a422cb4fb7062f5c5b0115f5c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git oeqa/selftest/bbclasses: Drop systemd+sysvinit test This configuration is no longer possible with recent systemd changes, drop the test. Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oeqa/selftest/cases/bbclasses.py b/meta/lib/oeqa/selftest/cases/bbclasses.py index 10545ebe65..8595bb5d6f 100644 --- a/meta/lib/oeqa/selftest/cases/bbclasses.py +++ b/meta/lib/oeqa/selftest/cases/bbclasses.py @@ -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 - """ - - 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