I tried to convert snowball to hwpack v3. the mmc_id is 1:1.
Traceback (most recent call last):
File "/usr/bin/linaro-hwpack-create", line 53, in <module>
args.VERSION, args.local_debs)
File "/usr/lib/pymodules/python2.7/linaro_image_tools/hwpack/builder.py", line 110, in __init__
self.config.validate()
File "/usr/lib/pymodules/python2.7/linaro_image_tools/hwpack/config.py", line 294, in validate
self._validate_mmc_id()
File "/usr/lib/pymodules/python2.7/linaro_image_tools/hwpack/config.py", line 1094, in _validate_mmc_id
r"[0-9]:[0-9]", mmc_id, "Invalid mmc_id %s" % mmc_id)
File "/usr/lib/pymodules/python2.7/linaro_image_tools/hwpack/config.py", line 937, in _assert_matches_pattern
raise HwpackConfigError(error_message)
linaro_image_tools.hwpack.config.HwpackConfigError: Invalid mmc_id 61
To reproduce, you can get my branch:
bzr branch lp:~fboudra/linaro-images/hwpack.quantal.linaro-snowball
I tested the hwpack config, and did some other tests.
It is not really an error in l-i-t per se, it is how the yaml library parses the string or how it is interpreting the value.
If we quote the mmc_id value like:
mmc_id: '1:1'
it will pick it up as a valid string, otherwise it picks it up (I guess) as a number, which yelds 61 as a result value.
Need to check how the other hwpack config files are using the mmc_id value.