← Back to team overview

linaro-release team mailing list archive

[Bug 815254] Re: linaro-media-create fails when hwpack has a 3.0 kernel

 

** Changed in: linaro-image-tools
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Linaro
Release Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/815254

Title:
  linaro-media-create fails when hwpack has a 3.0 kernel

Status in Linaro Image Tools:
  Fix Released

Bug description:
  For 11.07 release most hwpacks are delivering a 3.0 kernel, instead of
  the old 2.6.38, and current linaro-media-create head can't handle it
  correctly:

  $ sudo linaro-media-create --mmc /dev/sdb --dev panda --rootfs ext3 --hwpack /home/rsalveti/projects/linaro/images/files/hwpack_linaro-lt-panda_20110723-0_armel_supported.tar.gz --binary /home/rsalveti/projects/linaro/images/files/nano-n-tar-20110723-0.tar.gz
  ...
  This filesystem will be automatically checked every 39 mounts or
  180 days, whichever comes first.  Use tune2fs -c or -i to override.
  `/tmp/tmpiw9195/binary/usr/lib/u-boot/omap4_panda/u-boot.bin' -> `/tmp/tmpiw9195/boot-disc/u-boot.bin'
  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 483, in populate_boot
      rootfs_uuid, boot_disk, boot_device_or_file)
    File "/home/rsalveti/projects/linaro/linaro-image-tools/linaro_image_tools/media_create/boards.py", line 570, in make_boot_files
      cls.set_appropriate_serial_tty(chroot_dir)
    File "/home/rsalveti/projects/linaro/linaro-image-tools/linaro_image_tools/media_create/boards.py", line 560, in set_appropriate_serial_tty
      minor_version = re.match('.*2\.6\.([0-9]{2}).*', basename).group(1)
  AttributeError: 'NoneType' object has no attribute 'group'

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-image-tools/+bug/815254/+subscriptions