78694d4ff9b36a9da57a371385162bcce0c133c6

The DELAY_SEC variable in the sw-patch init script controls how long the service waits for an active controller to respond before proceeding. The default is 120 seconds. On simplex (AIO-SX) systems, this wait always times out since there is no active 'controller', resulting in an unnecessary 2-minute delay during reboot or unlock operations. This update significantly reduces the timeout delay on simplex systems, improving boot and unlock responsiveness without affecting duplex systems. Test Plan: PASS: Verify build and install on AIO-SX PASS: Verify build and install on AIO-DX PASS: Verify unlock of AIO-SX is not delayed by sw-patch timeout PASS: Verify sw-patch times out after ~10s with no controller ping (SX) PASS: Verify sw-patch still uses 120s timeout on AIO-DX Closes-Bug: 2111941 Change-Id: I46d33e87897e2ae67011241f9f83ae0d153f19ce Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
stx-update
StarlingX Software Management
Description
Languages
Python
92.7%
Shell
5.9%
HTML
1%
Makefile
0.4%