Fix firmware packaging

BUG=none
TEST="run make_factory_package.sh --factory=X --release=X, doesn't crash"

Review URL: http://codereview.chromium.org/2858021
This commit is contained in:
Nick Sanders 2010-06-21 21:52:43 -07:00
parent 6c587b0a5b
commit ec29805fde

View File

@ -163,7 +163,7 @@ config = [
'stateimg_image': 'state.gz',
'stateimg_checksum': '${state_hash}'," > ${OMAHA_DIR}/miniomaha.conf
if [ ! -z ${FLAGS_include_firmware} ] ; then
if [ ${FLAGS_include_firmware} -eq ${FLAGS_TRUE} ] ; then
echo -n "
'firmware_image': 'firmware.gz',
'firmware_checksum': '${firmware_hash}'," >> ${OMAHA_DIR}/miniomaha.conf