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 1/4] systemd: add ukify packageconfig
Date: Fri, 23 Oct 2026 12:51:53 +0200 [thread overview]
Message-ID: <20261023-systemd-optimisations-v1-1-0cce103e54df@9elements.com> (raw)
In-Reply-To: <20261023-systemd-optimisations-v1-0-0cce103e54df@9elements.com>
systemd gates ukify via allowed(), so it is built and installed unless
explicitly disabled.
Add a packageconfig option that is enabled by default when the efi
DISTRO_FEATURE is set. It can still be removed if wanted, which may be
useful when using meta-tpm, which may include ukify implicitly.
Signed-off-by: Tan Siewert <tan.siewert@9elements.com>
---
meta/recipes-core/systemd/systemd_262.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/systemd/systemd_262.bb b/meta/recipes-core/systemd/systemd_262.bb
index d70053182f..24797e2e08 100644
--- a/meta/recipes-core/systemd/systemd_262.bb
+++ b/meta/recipes-core/systemd/systemd_262.bb
@@ -52,6 +52,7 @@ PACKAGECONFIG ??= " \
${@bb.utils.contains('DISTRO_FEATURES', 'minidebuginfo', 'coredump elfutils', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'rfkill', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'efi', 'ukify', '', d)} \
link-udev-shared \
backlight \
binfmt \
@@ -197,6 +198,7 @@ PACKAGECONFIG[set-time-epoch] = "${@build_epoch(d)},-Dtime-epoch=0"
PACKAGECONFIG[timedated] = "-Dtimedated=true,-Dtimedated=false"
PACKAGECONFIG[timesyncd] = "-Dtimesyncd=true,-Dtimesyncd=false"
PACKAGECONFIG[sbinmerge] = "-Dsplit-bin=false,-Dsplit-bin=true"
+PACKAGECONFIG[ukify] = "-Dukify=enabled,-Dukify=disabled"
PACKAGECONFIG[userdb] = "-Duserdb=true,-Duserdb=false"
PACKAGECONFIG[utmp] = "-Dutmp=true,-Dutmp=false"
PACKAGECONFIG[valgrind] = "-DVALGRIND=1,,valgrind"
@@ -405,7 +407,7 @@ PACKAGE_BEFORE_PN += "\
${PN}-networkd \
${PN}-rpm-macros \
${PN}-udev-rules \
- ${PN}-ukify \
+ ${@bb.utils.contains('PACKAGECONFIG', 'ukify', '${PN}-ukify', '', d)} \
${PN}-vconsole-setup \
${PN}-zsh-completion \
libsystemd-shared \
--
2.53.0
next prev parent reply other threads:[~2026-10-23 10:58 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 ` Tan Siewert [this message]
2026-10-23 11:34 ` [PATCH 1/4] systemd: add ukify packageconfig Paul Barker
2026-10-28 14:48 ` Tan Siewert
2026-10-23 10:51 ` [PATCH 2/4] systemd: add sysinstall packageconfig Tan Siewert
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-1-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 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.