]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
systemd: fix excess systemd -> ukify -> python dependency
authorDmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Tue, 30 Dec 2025 19:05:10 +0000 (21:05 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Jan 2026 11:21:21 +0000 (11:21 +0000)
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 <koen.kooi@oss.qualcomm.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Acked-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/systemd/systemd_258.1.bb

index 70414b03a481fd281bdfd29aef5d1862f7d8bbae..410396f3083477bce20cae1289c862e2baf7ac78 100644 (file)
@@ -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 \