@@ -51,6 +51,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 \
@@ -196,6 +197,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"
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.2.bb | 2 ++ 1 file changed, 2 insertions(+)