diff options
author | Lei Maohui <leimaohui@fujitsu.com> | 2024-05-24 12:19:57 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-06-03 07:47:04 +0100 |
commit | 35b139f5543349c95b83314eba1b3f7a5346f29f (patch) | |
tree | df321d84cd65db334c635214050f357930b72e9e /meta | |
parent | dd148a0a4e649e958dd0676bf5559e608a3ddf87 (diff) | |
download | poky-35b139f5543349c95b83314eba1b3f7a5346f29f.tar.gz |
run-postinsts.service: Removed --no-reload to fix reload warning when users execute systemctl in the first boot.
This warning is because after systemd has been upgraded to 255, reloading units operation is needed even when "enable/disable" units by systemctl.
(From OE-Core rev: 28a7064403f2433ef3cb4d52b03dd73437f2d665)
Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service index b6b81d5c1a..1ce19abcaf 100644 --- a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service +++ b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service | |||
@@ -7,7 +7,7 @@ Before=sysinit.target | |||
7 | [Service] | 7 | [Service] |
8 | Type=oneshot | 8 | Type=oneshot |
9 | ExecStart=#SBINDIR#/run-postinsts | 9 | ExecStart=#SBINDIR#/run-postinsts |
10 | ExecStartPost=#BASE_BINDIR#/systemctl --no-reload disable run-postinsts.service | 10 | ExecStartPost=#BASE_BINDIR#/systemctl disable run-postinsts.service |
11 | RemainAfterExit=yes | 11 | RemainAfterExit=yes |
12 | TimeoutSec=0 | 12 | TimeoutSec=0 |
13 | 13 | ||