Actions
Regression #15880
openUpgrade available LED not set before branch is selected.
Start date:
Due date:
% Done:
100%
Estimated time:
Release Notes:
Default
Affected Plus Version:
24.03
Affected Architecture:
Description
With the introduction of opt-in upgrades a user must now select the new version branch to upgrade.
However the script that set's the upgrade LED status is still using only the selected branch so cannot indicate a new version is available before the branch is set.
/etc/rc.update_pkg_metadata:
( \ sleep $sleep_time \ && /usr/local/sbin/${product_name}-upgrade -uf \ && ( \ /usr/local/sbin/${product_name}-upgrade -Uc > ${tmp_version}.tmp \ ; rc=$? \ ; tail -n 1 ${tmp_version}.tmp > $tmp_version \ ; rm -f ${tmp_version}.tmp \ ; echo $rc > ${tmp_version}.rc \ ; if [ $rc -eq 2 ]; then \ /usr/local/sbin/${product_name}-led.sh update 1 \ ; return $rc \ ; fi \ ; /usr/local/sbin/${product_name}-led.sh update 0 \ ; led_update 0 \ ; return 0 \ )
Actions