Skip to contentSkip to conversation

systemd: fix excess systemd -> ukify -> python dependency

PATCH In review Dmitry Baryshkov 2 participants 2 messages Dec 30, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: fix excess systemd -> ukify -> python dependency

The systemd package contains a symlink to ukify binary under the libdir/systemd. This symlink forces the systemd -> systemd-ukify dependency, which also pulls in a set of python packages, which might be undesirable for the small isntallations. Move the symlink to the systemd-ukify package, removing this dependency and preventing the excess growth of the rootfs / initramfst.

Fixes e92427496210 ("systemd: package 'ukify' seperately")
Cc Koen Kooi <[email protected]>
---
 meta/recipes-core/systemd/systemd_258.1.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-core/systemd/systemd_258.1.bb +4 -1
index 70414b03a481..410396f30834 100644
@@ -633,7 +633,10 @@ FILES:${PN}-udev-rules = "\
 
 SUMMARY:${PN}-ukify = "Create and inspect Unified Kernel Images (UKIs)"
 DESCRIPTION:${PN}-ukify = "ukify is a tool whose primary purpose is to combine components (usually a kernel, an initrd, and a UEFI boot stub) to create a Unified Kernel Image (UKI) — a PE binary that can be executed by the firmware to start the embedded linux kernel."
-FILES:${PN}-ukify = "${bindir}/ukify"
+FILES:${PN}-ukify = " \
+    ${bindir}/ukify \
+    ${nonarch_libdir}/systemd/ukify \
+"
 RDEPENDS:${PN}-ukify = " \
                         python3-compression \
                         python3-core \
Signature · 1 line
2.47.3
Acked-by on v1 1/1
#1 lore raw

Thanks! That's what I did locally after reporting it in
https://lists.openembedded.org/g/openembedded-core/message/228460

Quoted 43 lines · Dmitry Baryshkov via lists.openembedded.org

The systemd package contains a symlink to ukify binary under the libdir/systemd. This symlink forces the systemd -> systemd-ukify dependency, which also pulls in a set of python packages, which might be undesirable for the small isntallations. Move the symlink to the systemd-ukify package, removing this dependency and preventing the excess growth of the rootfs / initramfst.

Fixes e92427496210 ("systemd: package 'ukify' seperately")
Cc Koen Kooi <[email protected]>
---
 meta/recipes-core/systemd/systemd_258.1.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta/recipes-core/systemd/systemd_258.1.bb +4 -2
index 70414b03a481..410396f30834 100644
@@ -633,7 +633,10 @@ FILES:${PN}-udev-rules = "\
 
 SUMMARY:${PN}-ukify = "Create and inspect Unified Kernel Images (UKIs)"
 DESCRIPTION:${PN}-ukify = "ukify is a tool whose primary purpose is to combine components (usually a kernel, an initrd, and a UEFI boot stub) to create a Unified Kernel Image (UKI) — a PE binary that can be executed by the firmware to start the embedded linux kernel."
-FILES:${PN}-ukify = "${bindir}/ukify"
+FILES:${PN}-ukify = " \
+    ${bindir}/ukify \
+    ${nonarch_libdir}/systemd/ukify \
+"
 RDEPENDS:${PN}-ukify = " \
                         python3-compression \
                         python3-core \
--

2.47.3

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#228690): https://lists.openembedded.org/g/openembedded-core/message/228690
Mute This Topic: https://lists.openembedded.org/mt/117001955/3617156
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-