]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
systemd: fix packaging of 'run0'
authorMatt Madison <matt@madison.systems>
Sun, 5 Apr 2026 13:40:49 +0000 (06:40 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 9 Apr 2026 09:59:20 +0000 (10:59 +0100)
The 'run0' command was introduced with systemd v256. Its
implementation is in the 'systemd-run' program, with
${bindir}/run0 installed as a symlink to that program.

However, when the upgrade to v256 was done (in commit
89b75b46371d5e9172cb496b461824d8551a2af5), the run0 symlink
wasn't packaged into systemd-extra-utils (where systemd-run
is packaged), introducing a hard RDEPENDS from systemd ->
systemd-extra-utils due to the symlink.

Fix this, and return to the softer RRECOMMENDS dependency
between systemd and systemd-extra-utils, by packaging run0
into systemd-extra-utils.

Signed-off-by: Matt Madison <matt@madison.systems>
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_259.5.bb

index 4c758baca60dfe3ff778964acca39b036e373bc0..6987d4ad54e1668f6e21faafe73c66678f0c92da 100644 (file)
@@ -562,6 +562,7 @@ RRECOMMENDS:${PN}-container += "\
 FILES:${PN}-extra-utils = "\
                         ${base_bindir}/systemd-escape \
                         ${base_bindir}/systemd-inhibit \
+                        ${bindir}/run0 \
                         ${bindir}/systemd-detect-virt \
                         ${bindir}/systemd-dissect \
                         ${bindir}/systemd-path \