Traceback (most recent call last):
File "./linaro-media-create", line 161, in <module>
args.is_live, args.is_lowmem, args.consoles)
File "/home/rsalveti/projects/linaro/linaro-image-tools/linaro_image_tools/media_create/boards.py", line 598, in populate_boot
"uboot_in_boot_part is set but not uboot_flavor")
AssertionError: uboot_in_boot_part is set but not uboot_flavor
This is caused because the assert is called at populate_boot even if we're using v2:
"""
def populate_boot(cls, chroot_dir, rootfs_uuid, boot_partition, boot_disk, boot_device_or_file, is_live, is_lowmem, consoles):
parts_dir = 'boot'
if is_live: parts_dir = 'casper' uboot_parts_dir = os.path.join(chroot_dir, parts_dir)
cmd_runner.run(['mkdir', '-p', boot_disk]).wait()
with partition_mounted(boot_partition, boot_disk):
if cls.uboot_in_boot_part: assert cls.uboot_flavor is not None, ( "uboot_in_boot_part is set but not uboot_flavor")
...
"""
Mattias, tried with hwpack v2, as described at https:/ /code.launchpad .net/~rsalveti/ linaro- images/ hwpack. natty.linaro- igep, but got the following error while creating the image:
Traceback (most recent call last): media-create" , line 161, in <module> rsalveti/ projects/ linaro/ linaro- image-tools/ linaro_ image_tools/ media_create/ boards. py", line 598, in populate_boot in_boot_ part is set but not uboot_flavor")
File "./linaro-
args.is_live, args.is_lowmem, args.consoles)
File "/home/
"uboot_
AssertionError: uboot_in_boot_part is set but not uboot_flavor
This is caused because the assert is called at populate_boot even if we're using v2:
boot_device_ or_file, is_live, is_lowmem, consoles):
parts_ dir = 'casper'
uboot_ parts_dir = os.path. join(chroot_ dir, parts_dir)
"""
def populate_boot(cls, chroot_dir, rootfs_uuid, boot_partition, boot_disk,
parts_dir = 'boot'
if is_live:
with partition_
if cls.uboot_
...
"""