From: Tan Siewert <tan.siewert@9elements.com>
To: openembedded-core@lists.openembedded.org
Cc: Sai Sireesha T <saisireesha.t@windriver.com>,
Patrick Williams <patrick@stwcx.xyz>,
Tan Siewert <tan.siewert@9elements.com>
Subject: [PATCH 2/4] systemd: add sysinstall packageconfig
Date: Fri, 23 Oct 2026 12:51:54 +0200 [thread overview]
Message-ID: <20261023-systemd-optimisations-v1-2-0cce103e54df@9elements.com> (raw)
In-Reply-To: <20261023-systemd-optimisations-v1-0-0cce103e54df@9elements.com>
sysinstall is a system installer tool and is unnecessary on some
embedded systems. It calls systemd-repart at runtime, but repart is not
enabled by default, so the shipped tool could not work in the default
configuration anyway.
Add a packageconfig option, disabled by default, and warn when it is
enabled without repart.
Signed-off-by: Tan Siewert <tan.siewert@9elements.com>
---
meta/recipes-core/systemd/systemd_262.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-core/systemd/systemd_262.bb b/meta/recipes-core/systemd/systemd_262.bb
index 24797e2e08..60d8ed00d5 100644
--- a/meta/recipes-core/systemd/systemd_262.bb
+++ b/meta/recipes-core/systemd/systemd_262.bb
@@ -188,6 +188,7 @@ PACKAGECONFIG[seccomp] = "-Dseccomp=enabled,-Dseccomp=disabled,libseccomp"
PACKAGECONFIG[selinux] = "-Dselinux=enabled,-Dselinux=disabled,libselinux,initscripts-sushell"
PACKAGECONFIG[smack] = "-Dsmack=true,-Dsmack=false"
PACKAGECONFIG[sysext] = "-Dsysext=true, -Dsysext=false"
+PACKAGECONFIG[sysinstall] = "-Dsysinstall=true,-Dsysinstall=false"
PACKAGECONFIG[sysusers] = "-Dsysusers=true,-Dsysusers=false"
# When enabled use reproducible build timestamp if set as time epoch,
# or build time if not. When disabled, time epoch is unset.
@@ -871,6 +872,9 @@ python __anonymous() {
if bb.utils.contains('PACKAGECONFIG', 'homed', True, False, d) and not bb.utils.contains('PACKAGECONFIG', 'userdb openssl cryptsetup', True, False, d):
bb.error("PACKAGECONFIG[homed] requires PACKAGECONFIG[userdb], PACKAGECONFIG[openssl] and PACKAGECONFIG[cryptsetup]")
+
+ if bb.utils.contains('PACKAGECONFIG', 'sysinstall', True, False, d) and not bb.utils.contains('PACKAGECONFIG', 'repart', True, False, d):
+ bb.warn("PACKAGECONFIG[sysinstall] may call commands from PACKAGECONFIG[repart]. Consider adding it")
}
ALTERNATIVE:${PN} = "halt reboot shutdown poweroff \
--
2.53.0
next prev parent reply other threads:[~2026-10-23 10:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-23 10:51 [PATCH 0/4] systemd: add packageconfigs for storage optimisation Tan Siewert
2026-10-23 10:51 ` [PATCH 1/4] systemd: add ukify packageconfig Tan Siewert
2026-10-23 11:34 ` Paul Barker
2026-10-28 14:48 ` Tan Siewert
2026-10-23 10:51 ` Tan Siewert [this message]
2026-10-23 10:51 ` [PATCH 3/4] systemd: add hwdb packageconfig Tan Siewert
2026-10-23 10:51 ` [PATCH 4/4] systemd: add fdisk packageconfig Tan Siewert
2026-10-23 20:00 ` [PATCH 0/4] systemd: add packageconfigs for storage optimisation Tirumala Pudi, Sai Sireesha
2026-10-28 14:50 ` Tan Siewert
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=20261023-systemd-optimisations-v1-2-0cce103e54df@9elements.com \
--to=tan.siewert@9elements.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=patrick@stwcx.xyz \
--cc=saisireesha.t@windriver.com \
/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