We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51a327f commit a5de193Copy full SHA for a5de193
lib/inputstreamhelper.py
@@ -292,8 +292,9 @@ def _parse_chromeos_recovery_conf(self):
292
download_dict = {}
293
self._url = config.CHROMEOS_RECOVERY_CONF
294
conf = self._http_request().split('\n\n')
295
- for device in conf:
296
- if config.CHROMEOS_ARM_HWID in device:
+ devices = [x for x in conf if 'name=' in x]
+ for device in devices:
297
+ if config.CHROMEOS_ARM_HWID in device.split('\nhwidmatch=')[1].split('\n')[0]:
298
for line in device.splitlines():
299
if 'url' in line:
300
download_dict['url'] = line.split('url=')[1]
0 commit comments