Pack firmware into an image and do update in factory install (separated git).
Since different platforms have different instructions to update their firmware.
In order not to depend on the install shim, we pack all firmware update files
into a single file, i.e. an executable shell script with embedded files.
The original CL (http://codereview.chromium.org/2366001) is reviewed and is
broken down into 5 CLs. This is one of them.
Review URL: http://codereview.chromium.org/2715012
diff --git a/autoupdate.py b/autoupdate.py
index 93d6b0d..8f9f5ad 100644
--- a/autoupdate.py
+++ b/autoupdate.py
@@ -206,10 +206,8 @@
'efipartitionimg_checksum': 'AtiI8B64agHVN+yeBAyiNMX3+HM=',
'stateimg_image': 'generic-state.gz',
'stateimg_checksum': 'AtiI8B64agHVN+yeBAyiNMX3+HM=',
- 'systemrom_image': 'generic-systemrom.gz',
- 'systemrom_checksum': 'AtiI8B64agHVN+yeBAyiNMX3+HM=',
- 'ecrom_image': 'generic-ecrom.gz',
- 'ecrom_checksum': 'AtiI8B64agHVN+yeBAyiNMX3+HM=',
+ 'firmware_image': 'generic-firmware.gz',
+ 'firmware_checksum': 'AtiI8B64agHVN+yeBAyiNMX3+HM=',
},
{
'qual_ids': set([6]),
@@ -223,10 +221,8 @@
'efipartitionimg_checksum': 'AtiI8B64agHVN+yeBAyiNMX3+HM=',
'stateimg_image': '6-state.gz',
'stateimg_checksum': 'AtiI8B64agHVN+yeBAyiNMX3+HM=',
- 'systemrom_image': '6-systemrom.gz',
- 'systemrom_checksum': 'AtiI8B64agHVN+yeBAyiNMX3+HM=',
- 'ecrom_image': '6-ecrom.gz',
- 'ecrom_checksum': 'AtiI8B64agHVN+yeBAyiNMX3+HM=',
+ 'firmware_image': '6-firmware.gz',
+ 'firmware_checksum': 'AtiI8B64agHVN+yeBAyiNMX3+HM=',
},
]
The server will look for the files by name in the static files