linaro-release team mailing list archive
-
linaro-release team
-
Mailing list archive
-
Message #01346
[Bug 814671] Re: failed to run command `linaro-hwpack-install'
One thing we could do here would be to run a test (e.g. 'chroot
/path/to/root ls') before we try installing the hwpack. If that test
fails we could then tell the user that qemu-user-static is not properly
setup or something (scratchbox) messed with its configs.
--
You received this bug notification because you are a member of linaro-
infrastructure-drivers, which is the registrant for Linaro Image Tools.
https://bugs.launchpad.net/bugs/814671
Title:
failed to run command `linaro-hwpack-install'
Status in Linaro Image Tools:
Won't Fix
Bug description:
using latest from bzr the following command fails with the following
output:
root@neptune:/home/tgall# ~tgall/bzr/linaro-image-tools/linaro-media-create --mmc /dev/sdc --rootfs ext4 --dev panda --hwpack ~tgall/Downloads/hwpack_linaro-panda-x11-base_20110722-0_armel_supported.tar.gz --binary /bld/developer-cross/binary-tar.tar.gz
I see...
Device Mount point Size
/dev/sda none 152627MB
/dev/sda1 / 146899MB
/dev/sda2 none 5726MB
/dev/sda5 none 5726MB
/dev/sdb none 0MB
/dev/sdc none 7695MB
/dev/sdc1 none 51MB
/dev/sdc2 none 7643MB
/dev/sdd none 0MB
/dev/sde none 0MB
/dev/sr0 none 0MB
Are you 100% sure, on selecting [/dev/sdc] (y/n)? y
------------------------------------------------------------
Installing (linaro-hwpack-install) hwpack_linaro-panda-x11-base_20110722-0_armel_supported.tar.gz in target rootfs.
chroot: failed to run command `linaro-hwpack-install': No such file or directory
proc umounted
Traceback (most recent call last):
File "/home/tgall/bzr/linaro-image-tools/linaro-media-create", line 146, in <module>
verified_files, *hwpacks)
File "/home/tgall/bzr/linaro-image-tools/linaro_image_tools/media_create/chroot_utils.py", line 64, in install_hwpacks
install_hwpack(chroot_dir, hwpack_file, hwpack_force_yes or hwpack_verified)
File "/home/tgall/bzr/linaro-image-tools/linaro_image_tools/media_create/chroot_utils.py", line 85, in install_hwpack
cmd_runner.run(args, as_root=True, chroot=chroot_dir).wait()
File "/home/tgall/bzr/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 "['chroot', '/tmp/tmpVxkBHQ/binary', 'linaro-hwpack-install', '/hwpack_linaro-panda-x11-base_20110722-0_armel_supported.tar.gz']" returned a non-zero value: 127
yet the command in question does exist note:
root@neptune:/home/tgall# ls bzr/linaro-image-tools/linarolinaro-android-media-create linaro-image-indexerlinaro-hwpack-create linaro_image_tools/linaro-hwpack-install linaro-media-create
linaro-hwpack-replace
To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-image-tools/+bug/814671/+subscriptions