From: Alexander Kanavin <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Cc: Alexander Kanavin <alex@linutronix.de>
Subject: [PATCH 02/34] selftest: use INIT_MANAGER to enable systemd instead of custom settings
Date: Tue, 27 Aug 2024 07:23:22 +0200 [thread overview]
Message-ID: <20240827052354.1319810-2-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20240827052354.1319810-1-alex.kanavin@gmail.com>
From: Alexander Kanavin <alex@linutronix.de>
This is already done in most of selftest; these two were the last
holdouts I could fine.
Hopefully this improves sstate reuse as well.
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
meta/lib/oeqa/selftest/cases/imagefeatures.py | 7 +------
meta/lib/oeqa/selftest/cases/runtime_test.py | 5 +----
2 files changed, 2 insertions(+), 10 deletions(-)
diff --git a/meta/lib/oeqa/selftest/cases/imagefeatures.py b/meta/lib/oeqa/selftest/cases/imagefeatures.py
index 74811d2c0aa..94d01ba1165 100644
--- a/meta/lib/oeqa/selftest/cases/imagefeatures.py
+++ b/meta/lib/oeqa/selftest/cases/imagefeatures.py
@@ -250,12 +250,7 @@ USERADD_GID_TABLES += "files/static-group"
DISTRO_FEATURES:append = " pam opengl wayland"
# Switch to systemd
-DISTRO_FEATURES:append = " systemd usrmerge"
-VIRTUAL-RUNTIME_init_manager = "systemd"
-VIRTUAL-RUNTIME_initscripts = ""
-VIRTUAL-RUNTIME_syslog = ""
-VIRTUAL-RUNTIME_login_manager = "shadow-base"
-DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
+INIT_MANAGER = "systemd"
# Replace busybox
PREFERRED_PROVIDER_virtual/base-utils = "packagegroup-core-base-utils"
diff --git a/meta/lib/oeqa/selftest/cases/runtime_test.py b/meta/lib/oeqa/selftest/cases/runtime_test.py
index 13aa5f16c9b..27090ae5cd9 100644
--- a/meta/lib/oeqa/selftest/cases/runtime_test.py
+++ b/meta/lib/oeqa/selftest/cases/runtime_test.py
@@ -310,10 +310,7 @@ class Postinst(OESelftestTestCase):
features += 'IMAGE_FEATURES += "package-management empty-root-password"\n'
features += 'PACKAGE_CLASSES = "%s"\n' % classes
if init_manager == "systemd":
- features += 'DISTRO_FEATURES:append = " systemd usrmerge"\n'
- features += 'VIRTUAL-RUNTIME_init_manager = "systemd"\n'
- features += 'DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"\n'
- features += 'VIRTUAL-RUNTIME_initscripts = ""\n'
+ features += 'INIT_MANAGER = "systemd"\n'
self.write_config(features)
bitbake('core-image-minimal')
--
2.39.2
next prev parent reply other threads:[~2024-08-27 5:24 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-27 5:23 [PATCH 01/34] selftest: always tweak ERROR_QA/WARN_QA per package Alexander Kanavin
2024-08-27 5:23 ` Alexander Kanavin [this message]
2024-08-27 5:23 ` [PATCH 03/34] xmlto: check upstream version tags, not new commits Alexander Kanavin
2024-08-27 5:23 ` [PATCH 04/34] glib-2.0: update 2.80.2 -> 2.80.4 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 05/34] lttng-modules: update 2.13.13 -> 2.13.14 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 06/34] automake: update 1.16.5 -> 1.17 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 07/34] fmt: update 10.2.1 -> 11.0.2 Alexander Kanavin
2024-08-28 18:16 ` [OE-core] " Khem Raj
2024-08-27 5:23 ` [PATCH 08/34] git: 2.45.2 -> 2.46.0 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 09/34] perlcross: update 1.5.2 -> 1.6 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 10/34] perl: update 5.38.2 -> 5.40.0 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 11/34] gnu-config: update to latest revision Alexander Kanavin
2024-08-27 5:23 ` [PATCH 12/34] python3-license-expression: update 30.3.0 -> 30.3.1 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 13/34] python3-pip: 24.0 -> 24.2 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 14/34] python3-pyopenssl: update 24.1.0 -> 24.2.1 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 15/34] python3-pyyaml: update 6.0.1 -> 6.0.2 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 16/34] python3-scons: update 4.7.0 -> 4.8.0 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 17/34] cargo-c-native: update 0.9.30 -> 0.10.3 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 18/34] go-helloworld: update to latest revision Alexander Kanavin
2024-08-27 5:23 ` [PATCH 19/34] vulkan-samples: " Alexander Kanavin
2024-08-27 5:23 ` [PATCH 20/34] ffmpeg: update 6.1.1 -> 7.0.2 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 21/34] libksba: update 1.6.6 -> 1.6.7 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 22/34] p11-kit: update 0.25.3 -> 0.25.5 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 23/34] iproute2: upgrade 6.9.0 -> 6.10.0 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 24/34] ifupdown: upgrade 0.8.41 -> 0.8.43 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 25/34] libdnf: upgrade 0.73.2 -> 0.73.3 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 26/34] mmc-utils: upgrade to latest revision Alexander Kanavin
2024-08-27 5:23 ` [PATCH 27/34] adwaita-icon-theme: upgrade 46.0 -> 46.2 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 28/34] hicolor-icon-theme: upgrade 0.17 -> 0.18 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 29/34] waffle: upgrade 1.8.0 -> 1.8.1 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 30/34] libtraceevent: upgrade 1.8.2 -> 1.8.3 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 31/34] alsa-utils: upgrade 1.2.11 -> 1.2.12 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 32/34] lz4: upgrade 1.9.4 -> 1.10.0 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 33/34] vte: upgrade 0.74.2 -> 0.76.3 Alexander Kanavin
2024-08-27 5:23 ` [PATCH 34/34] cracklib: update 2.9.11 -> 2.10.2 Alexander Kanavin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240827052354.1319810-2-alex.kanavin@gmail.com \
--to=alex.kanavin@gmail.com \
--cc=alex@linutronix.de \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox