uprev_firmware.sh: Fix a bug in rw_only firmware update
A recent change in firmware updater suggests that we define
'CROS_FIRMWARE_MAIN_RW_IMAGE' as an empty string early in the
But this script won't work well for rw_only firmware update
when the empty string of 'CROS_FIRMWARE_MAIN_RW_IMAGE'
is already defined in the ebuild.
Here is the fix.
TEST=uprev_firmware -b bob -v 8785.202.0 rw_only
Commit-Ready: Philip Chen <email@example.com>
Tested-by: Philip Chen <firstname.lastname@example.org>
Reviewed-by: Hung-Te Lin <email@example.com>
Reviewed-by: YH Lin <firstname.lastname@example.org>
1 file changed