Skip to contentSkip to conversation

systemd: fix packaging of 'run0'

PATCH New Matt Madison 1 participant 1 message Apr 5

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd: fix packaging of 'run0'

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.

---
 meta/recipes-core/systemd/systemd_259.5.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/systemd/systemd_259.5.bb +1 -0
index c3cb605b4d..2ad0fc490c 100644
@@ -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 \
Signature · 1 line
2.43.0