From: Tan Siewert <tan.siewert@9elements.com>
To: openembedded-core@lists.openembedded.org
Cc: Sai Sireesha T <saisireesha.t@windriver.com>,
Tan Siewert <tan.siewert@9elements.com>
Subject: [PATCH v2 2/4] systemd: add sysinstall packageconfig
Date: Mon, 23 Nov 2026 20:22:42 +0100 [thread overview]
Message-ID: <20261123-systemd-optimisations-v2-2-0ecd5965985c@9elements.com> (raw)
In-Reply-To: <20261123-systemd-optimisations-v2-0-0ecd5965985c@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.2.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-core/systemd/systemd_262.2.bb b/meta/recipes-core/systemd/systemd_262.2.bb
index eaa4b900e0..899df09fa2 100644
--- a/meta/recipes-core/systemd/systemd_262.2.bb
+++ b/meta/recipes-core/systemd/systemd_262.2.bb
@@ -187,6 +187,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.56.0
next prev parent reply other threads:[~2026-11-23 19:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 19:22 [PATCH v2 0/4] systemd: add packageconfigs for storage optimisation Tan Siewert
2026-11-23 19:22 ` [PATCH v2 1/4] systemd: add ukify packageconfig Tan Siewert
2026-11-23 19:22 ` Tan Siewert [this message]
2026-11-23 19:22 ` [PATCH v2 3/4] systemd: add hwdb packageconfig Tan Siewert
2026-11-23 19:22 ` [PATCH v2 4/4] systemd: add fdisk packageconfig 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=20261123-systemd-optimisations-v2-2-0ecd5965985c@9elements.com \
--to=tan.siewert@9elements.com \
--cc=openembedded-core@lists.openembedded.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.