summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd_247.2.bb
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2021-01-21 15:44:49 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-21 23:25:53 +0000
commit4461ba4f5d629d515530e5e1dc9aba6b98505ff9 (patch)
tree2cc43cffdc037428b6ccbbf91fae5f40783c1236 /meta/recipes-core/systemd/systemd_247.2.bb
parentebfeb3d7b070ed5147e2f6f46597cd02463fbee3 (diff)
downloadpoky-4461ba4f5d629d515530e5e1dc9aba6b98505ff9.tar.gz
systemd: resolve executable path if it is relative
Backport a patch to fix the below systemd-analyze issue: # systemd-analyze --man=false verify /lib/systemd/system/initrd-cleanup.service initrd-cleanup.service: Command systemctl is not executable: No such file or directory # which systemctl /bin/systemctl # cat /lib/systemd/system/initrd-cleanup.service [snip] [Unit] Description=Cleaning Up and Shutting Down Daemons DefaultDependencies=no AssertPathExists=/etc/initrd-release OnFailure=emergency.target OnFailureJobMode=replace-irreversibly After=initrd-root-fs.target initrd-fs.target initrd.target [Service] Type=oneshot ExecStart=systemctl --no-block isolate initrd-switch-root.target (From OE-Core rev: aa4d56fc5f7d772df86220f44fe15f7689a3093a) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd_247.2.bb')
-rw-r--r--meta/recipes-core/systemd/systemd_247.2.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd_247.2.bb b/meta/recipes-core/systemd/systemd_247.2.bb
index 84d997196c..7ddcb169c3 100644
--- a/meta/recipes-core/systemd/systemd_247.2.bb
+++ b/meta/recipes-core/systemd/systemd_247.2.bb
@@ -24,6 +24,7 @@ SRC_URI += "file://touchscreen.rules \
24 file://0001-systemd.pc.in-use-ROOTPREFIX-without-suffixed-slash.patch \ 24 file://0001-systemd.pc.in-use-ROOTPREFIX-without-suffixed-slash.patch \
25 file://0001-logind-Restore-chvt-as-non-root-user-without-polkit.patch \ 25 file://0001-logind-Restore-chvt-as-non-root-user-without-polkit.patch \
26 file://0027-proc-dont-trigger-mount-error-with-invalid-options-o.patch \ 26 file://0027-proc-dont-trigger-mount-error-with-invalid-options-o.patch \
27 file://0001-analyze-resolve-executable-path-if-it-is-relative.patch \
27 " 28 "
28 29
29# patches needed by musl 30# patches needed by musl