run-postinsts.service: Removed --no-reload.
PATCH v2 1/1 run-postinsts.service: Removed --no-reload.
From: Lei Maohui <[email protected]>
A warning will be output when users execute systemctl in the first boot if there are any postsints scripts in image.
"Warning: The unit file, source configuration file or drop-ins of xxx changed on disk. Run 'systemctl daemon-reload' to reload units."
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 <[email protected]>
--- .../run-postinsts/run-postinsts/run-postinsts.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service +1 -1
@@ -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
Signature · 1 line
2.25.1