diff options
author | Mingli Yu <mingli.yu@windriver.com> | 2021-01-21 15:44:49 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-21 23:25:53 +0000 |
commit | 4461ba4f5d629d515530e5e1dc9aba6b98505ff9 (patch) | |
tree | 2cc43cffdc037428b6ccbbf91fae5f40783c1236 /scripts/oe-build-perf-test | |
parent | ebfeb3d7b070ed5147e2f6f46597cd02463fbee3 (diff) | |
download | poky-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 'scripts/oe-build-perf-test')
0 files changed, 0 insertions, 0 deletions