mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 12:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
dd148a0a4e
commit
35b139f554
@@ -7,7 +7,7 @@ Before=sysinit.target
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=#SBINDIR#/run-postinsts
|
||||
ExecStartPost=#BASE_BINDIR#/systemctl --no-reload disable run-postinsts.service
|
||||
ExecStartPost=#BASE_BINDIR#/systemctl disable run-postinsts.service
|
||||
RemainAfterExit=yes
|
||||
TimeoutSec=0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user