diff mbox series

systemd: fix packaging of 'run0'

Message ID 20260405134049.1985666-1-matt@madison.systems
State Under Review
Headers show
Series systemd: fix packaging of 'run0' | expand

Commit Message

Matt Madison April 5, 2026, 1:40 p.m. UTC
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>
---
 meta/recipes-core/systemd/systemd_259.5.bb | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/recipes-core/systemd/systemd_259.5.bb b/meta/recipes-core/systemd/systemd_259.5.bb
index c3cb605b4d..2ad0fc490c 100644
--- a/meta/recipes-core/systemd/systemd_259.5.bb
+++ b/meta/recipes-core/systemd/systemd_259.5.bb
@@ -561,6 +561,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 \