]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
run-postinsts: propagate exit state to run-postinsts.service
authorGermann, Bastian <Bastian.Germann@duagon.com>
Fri, 12 Dec 2025 13:47:07 +0000 (13:47 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 15 Dec 2025 18:00:31 +0000 (18:00 +0000)
commit7f74d88bb628f186309c9228cf01293b046e43ca
tree81d8b4317d02ba70bf2338af7cbc34efb9e65d50
parent86396b85b4e8f6748885710e50428271cd3493a8
run-postinsts: propagate exit state to run-postinsts.service

In case an exec_postinst_scriptlets child process fails during installation we
want indication that the run-postinsts.service had a problem.

We still try to install all scriptlets and only run remove_rcsd_link if all
postinst scripts ran without error. Otherwise on every following boot a new
install attempt of the missing scriptlet(s) is performed.

Signed-off-by: Bastian Germann <Bastian.Germann@duagon.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts