]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
run-postinsts.service: Removed --no-reload to fix reload warning when users execute...
authorLei Maohui <leimaohui@fujitsu.com>
Wed, 5 Jun 2024 07:18:11 +0000 (15:18 +0800)
committerSteve Sakoman <steve@sakoman.com>
Mon, 10 Jun 2024 12:31:10 +0000 (05:31 -0700)
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>
Signed-off-by: Zhang Peng <peng.zhang1.cn@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service

index b6b81d5c1a15e35460b1bb9c63d917cb5144e2b6..1ce19abcaf9ab658ecd4d30eaf95bfbafd5a16fc 100644 (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