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 <firstname.lastname@example.org>
Tested-by: Philip Chen <email@example.com>
Reviewed-by: Hung-Te Lin <firstname.lastname@example.org>
Reviewed-by: YH Lin <email@example.com>
1 file changed