lp:~berolinux/linaro-image-tools/android-iMX53

Created by Bernhard Rosenkraenzer and last modified
Get this branch:
bzr branch lp:~berolinux/linaro-image-tools/android-iMX53
Only Bernhard Rosenkraenzer can upload to this branch. If you are Bernhard Rosenkraenzer please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Bernhard Rosenkraenzer
Project:
Linaro Image Tools
Status:
Development

Recent revisions

388. By Bernhard Rosenkraenzer

Assorted i.MX53 (and related) fixes:
- boot loader partition is needed
- Don't barf in linaro-android-media-create if mmc_part_offset is 1
- install boot loader on SD card

387. By Bernhard Rosenkraenzer

Fix linaro-android-media-create after recent mount/umount changes

Without this, this traceback occurs:
mkfs.vfat 3.0.11 (24 Dec 2010)
mount: /dev/mmcblk0p1 already mounted or /tmp/tmp18MYEP/boot-disc busy
mount: according to mtab, /dev/mmcblk0p1 is already mounted on /tmp/tmp18MYEP/boot-disc
Traceback (most recent call last):
  File "./linaro-android-media-create", line 144, in <module>
    board_config.populate_boot_script(boot_partition, BOOT_DISK, args.consoles)
  File "/usr/src/repos/linaro/linaro-image-tools/linaro_image_tools/media_create/android_boards.py", line 82, in populate_boot_script
    as_root=True).wait()
  File "/usr/src/repos/linaro/linaro-image-tools/linaro_image_tools/cmd_runner.py", line 100, in wait
    raise SubcommandNonZeroReturnValue(self._my_args, returncode)
linaro_image_tools.cmd_runner.SubcommandNonZeroReturnValue: Sub process "['mount', '/dev/mmcblk0p1', '/tmp/tmp18MYEP/boot-disc']" returned a non-zero value: 32

The problem is that linaro-android-media-create assumes
populate_partition(... BOOT_DISK ...)
unmounts the boot filesystem after running (no longer true).

Furthermore, board_config.populate_boot_script used to umount
the boot filesystem, causing the umount in the atexit handler to fail.

386. By James Tunnicliffe

Renamed fetch image tools in line with other applications in the linaro-image-tools repository.

385. By James Tunnicliffe

After downloading files fetch_image[_ui].py checks the sha1sums and GPG signatures of the downloads.

If a GPG signature doesn't verify a sha1sum file, the GPG signatures and sha1sums are re-downloaded. The GPG signatures are then re-checked. If the GPG signatures still don't verify all the sha1sums, we abort.

If a sha1sum check fails, the file it is checksumming is re-downloaded. If after retrying a download then sha1sum check still fails the process is aborted.

If if all GPG signatures are valid and sha1sum checks pass, we mark the packages as signed.

If GPG signatures or SHA1 sums are unavailable for any package, and the above rules are met, we continue with image creation, but the packages are marked as unsigned.

384. By Guilherme Salgado

Make sure the root partition is umounted if something goes wrong while it's being populated.

383. By James Tunnicliffe

Merging in changes that makes the Fetch Image tools download SHA1 sums and GPG signatures for the hardware pack and OS binaries to allow linaro-media-create to install the packages without asking the user to approve the installation of unsigned packages.

382. By James Westby <email address hidden>

Set default display to give decent output where EDID probing isn't supported.

381. By James Tunnicliffe

Adding a Policy Kit action definition file, which should live in /usr/share/polkit-1/actions so when pkexec linaro-media-create is called we have more information and less clutter in the Policy Kit auth dialog.

380. By James Tunnicliffe

Merge in branch where unit tests were moved out of fetch_image_ui.py into linaro_image_tools/tests/test_fetch_image.py.

379. By James Westby

Add linaro-hwpack-replace to replace a .deb in a hwpack with another.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:linaro-image-tools/11.11
This branch contains Public information 
Everyone can see this information.