I'd say that the proper fix for this release is to make the u-boot package install the bin in /boot or link to that path, as Kalle suggests. That would make this hwpack behave like all the previous versions, and it's probably the solution with least effort involved.
When time permits we should change the format of the startupfiles.cfg so that absolute file names are specified. This means that the hwpack has to be respun anyway and that older hwpacks might break. Long term it's a better solution since full control is handed to whoever creates the hwpack. Something along the lines of Matt's patch would work but that would mean dragging along the extra checks for the lifetime of this particular hwpack. I'd like to avoid that unless there's no way we can re-do the hwpack with either a fixed u-boot package or a startfiles packages with absolute paths. -- 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/829220 Title: linaro-media-create fails for snowball_emmc Status in Linaro Image Tools: New Status in Linaro ST-Ericsson Landing Team Project: New Bug description: Using the following command to create a Snowball emmc image fails with current (updated on 18th of August) l-m-c: linaro-media-create --image_file customSnowballImage.img --dev snowball_emmc --rootfs ext3 --hwpack hwpack_linaro-lt- snowball_20110818-0_armel_supported.tar.gz --binary nano-n-tar-20110818-1.tar.gz The bottom of the trace is: File "/work/snowball/linaro/leb/linaro-image-tools/linaro_image_tools/media_create/boards.py", line 835, in get_file_info size = os.path.getsize(filename) File "/usr/lib/python2.6/genericpath.py", line 49, in getsize return os.stat(filename).st_size OSError: [Errno 2] No such file or directory: '/tmp/tmpmr5VH2/binary/boot/u-boot.bin' which would suggest that the u-boot.bin from the u-boot package is not installed correctly. And indeed, looking at the u-boot package it installs u-boot.bin to /usr/lib/u-boot/u8500_snowball and doesn't contain eg. linking to /boot, where the startupfiles package installs its binaries and the configuration that refers to u-boot.bin (and which l-m-c reads when creating the emmc image). So it seems that either startupfiles should have a startfiles.cfg that points to the correct u-boot location or the u-boot package should install (or link) the u-boot.bin to /boot. To manage notifications about this bug go to: https://bugs.launchpad.net/linaro-image-tools/+bug/829220/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~linaro-release Post to : [email protected] Unsubscribe : https://launchpad.net/~linaro-release More help : https://help.launchpad.net/ListHelp

