From: Lei Maohui Date: Wed, 5 Jun 2024 07:18:11 +0000 (+0800) Subject: run-postinsts.service: Removed --no-reload to fix reload warning when users execute... X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bdad9d3df6e9e4834803a60af24c072b39d5cbf8;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie Signed-off-by: Zhang Peng Signed-off-by: Steve Sakoman --- 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 b6b81d5c1a1..1ce19abcaf9 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 [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