Signalize run-agl-postinsts error appropriately to systemd 63/19463/2
authorAndre Goddard Rosa <andre.goddard@gmail.com>
Fri, 4 Jan 2019 01:11:47 +0000 (17:11 -0800)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Tue, 15 Jan 2019 22:32:53 +0000 (22:32 +0000)
commit7b8af4b16ae2edbbde8620d6be978762d31e51ff
treede93d326fc3320decf8f8c1779b904815bb74a1f
parent384cb266143afa80ca0fdd51213a77bf7299a2dd
Signalize run-agl-postinsts error appropriately to systemd

If any of the post-install scripts fail during first boot,
they should be retried on subsequent boots.

That was not happening because run-agl-postinsts.service
would be disabled even if a post-install script failed as
it always returned success on its execution.

Now signalize properly when it sees any error while executing
some post-install script.

Change-Id: I4402ee69c80814b06e3cc25cb400a66de3b5652d
Signed-off-by: Andre Goddard Rosa <andre.goddard@gmail.com>
meta-agl-profile-core/recipes-devtools/run-agl-postinsts/run-agl-postinsts/run-agl-postinsts