From: Lei Maohui Date: Fri, 24 May 2024 04:19:57 +0000 (+0800) Subject: run-postinsts.service: Removed --no-reload to fix reload warning when users execute... X-Git-Tag: uninative-4.6~369 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28a7064403f2433ef3cb4d52b03dd73437f2d665;p=thirdparty%2Fopenembedded%2Fopenembedded-core.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. Signed-off-by: Lei Maohui Signed-off-by: Alexandre Belloni --- 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