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:
Lei Maohui
2024-05-24 12:19:57 +08:00
committed by Richard Purdie
parent dd148a0a4e
commit 35b139f554

View File

@@ -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