
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>
stx-update
StarlingX Software Management
Description
Languages
Python
93.2%
Shell
5.2%
HTML
1.1%
Makefile
0.5%