]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
run-postinsts.service: Removed --no-reload to fix reload warning when users execute...
authorLei Maohui <leimaohui@fujitsu.com>
Fri, 24 May 2024 04:19:57 +0000 (12:19 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 3 Jun 2024 06:47:00 +0000 (07:47 +0100)
This warning is because after systemd has been upgraded to 255, reloading units operation is needed even when "enable/disable" units by systemctl.

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.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