This is a wishlist item.
While running linaro-hwpack-create on my intel natty install it failed out with the enclosed error messages. Like linaro-media-create, etc, I'd like to suggest that linaro-hwpack-create should be able to run in a cross fashion.
root@neptune:/home/tgall/hwpack/hwpack.precise.linaro-lt-panda/hwpacks# linaro-hwpack-create ./linaro-lt-panda 20111116
Building for armel
Fetching packages
Traceback (most recent call last):
File "/usr/bin/linaro-hwpack-create", line 67, in <module>
builder.build()
File "/usr/lib/pymodules/python2.7/linaro_image_tools/hwpack/builder.py", line 138, in build
with fetcher:
File "/usr/lib/pymodules/python2.7/linaro_image_tools/hwpack/packages.py", line 580, in prepare
self.cache.prepare()
File "/usr/lib/pymodules/python2.7/linaro_image_tools/hwpack/packages.py", line 511, in prepare
self.cache.update()
File "/usr/lib/python2.7/dist-packages/apt/deprecation.py", line 98, in deprecated_function
return func(*args, **kwds)
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 410, in update
raise FetchFailedException(e)
apt.cache.FetchFailedException: W:GPG error: http://ppa.launchpad.net precise Release: No keyring installed in /tmp/hwpack-apt-cache-v_a53C/etc/apt/trusted.gpg.d/., W:GPG error: http://ports.ubuntu.com precise-security Release: No keyring installed in /tmp/hwpack-apt-cache-v_a53C/etc/apt/trusted.gpg.d/., W:GPG error: http://ports.ubuntu.com precise-updates Release: No keyring installed in /tmp/hwpack-apt-cache-v_a53C/etc/apt/trusted.gpg.d/., W:GPG error: http://ports.ubuntu.com precise Release: No keyring installed in /tmp/hwpack-apt-cache-v_a53C/etc/apt/trusted.gpg.d/., W:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/precise-security/main/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/precise-security/universe/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/precise-updates/main/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/precise-updates/universe/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/precise/main/binary-i386/Packages 404 Not Found
, W:Failed to fetch http://ports.ubuntu.com/ubuntu-ports/dists/precise/universe/binary-i386/Packages 404 Not Found
, E:Some index files failed to download. They have been ignored, or old ones used instead.
It does run on intel, but this is looking like bug 885895, which is fixed in trunk. The interesting thing is that I thought that bug was introduced with MultiArch in oneiric