Go to file
Eric MacDonald 78694d4ff9 Reduce sw-patch init script controller ping timeout for simplex systems
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>
2025-06-03 20:28:40 +00:00
2024-10-29 10:44:57 -03:00
2024-11-25 15:05:33 +00:00
2025-01-31 16:43:47 -03:00
2024-10-07 10:45:15 -03:00
2019-04-19 19:52:36 +00:00
2024-10-07 10:45:15 -03:00
2018-05-31 07:37:12 -07:00
2019-07-19 10:28:00 -04:00
2018-07-25 08:48:07 -05:00
2024-01-10 19:26:20 +00:00

stx-update

StarlingX Software Management

Description
StarlingX Installation/Update/Patching/Backup/Restore
Readme 18 MiB
Languages
Python 92.7%
Shell 5.9%
HTML 1%
Makefile 0.4%