Don Penney ef0398bb7f Add failure checks to patching init script
The sw-patch init script is called by the 'sw-patch install-local'
command with a restart option to trigger the patch-agent to
install patches, as there is no communications between the
patch-agent and patch-controller at this point. However, the
init script was not checking for failures reported by the
patch-agent when it tries to install patches.

In the case of #1819496, the lighttpd server was not running,
due to a temporary config change at the time. As a result, the
patch-agent was unable to communicate with the patching repo,
and failed to install the patch. Because the init script was
not checking for failures, the failure went unreported to the user.

This update adds checks to the sw-patch init script, in order
to report the failure back to the user.

Change-Id: Id8d69bef3a5c6c2f81d56f4b26752d084f9a7ff2
Closes-Bug: 1819496
Signed-off-by: Don Penney <don.penney@windriver.com>
2019-03-11 13:28:33 -04:00
2018-05-31 07:37:12 -07:00
2018-05-31 07:37:12 -07:00
2018-08-24 09:19:44 -05:00
2018-07-25 08:48:07 -05:00

stx-update

StarlingX Software Management

Description
StarlingX Installation/Update/Patching/Backup/Restore
Readme 16 MiB
Languages
Python 93.2%
Shell 5.2%
HTML 1.1%
Makefile 0.5%