ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I am in the process of following your tutorial, but am having problems when creating the image:

~/workspace$ sudo linaro-media-create --rootfs ext3 --mmc gumstix.img --dev overo --hwpack Gumstix-Overo-Linaro/Gumstix-Overo-Linaro-armhf-HWPack.tar.gz --binary Gumstix-Overo-Linaro/Gumstix-Overo-Linaro-Precise-ALIP-armhf-RootFS.tar.gz
mv: cannot stat `/tmp/tmpPmKOmQ/binary/etc/resolv.conf': No such file or directory
Traceback (most recent call last):
  File "/usr/bin/linaro-media-create", line 156, in <module>
    verified_files, *hwpacks)
  File "/usr/lib/python2.7/dist-packages/linaro_image_tools/media_create/chroot_utils.py", line 48, in install_hwpacks
    prepare_chroot(chroot_dir, tmp_dir)
  File "/usr/lib/python2.7/dist-packages/linaro_image_tools/media_create/chroot_utils.py", line 38, in prepare_chroot
    temporarily_overwrite_file_on_dir('/etc/resolv.conf', chroot_etc, tmp_dir)
  File "/usr/lib/python2.7/dist-packages/linaro_image_tools/media_create/chroot_utils.py", line 155, in temporarily_overwrite_file_on_dir
    as_root=True).wait()
  File "/usr/lib/python2.7/dist-packages/linaro_image_tools/cmd_runner.py", line 100, in wait
    raise SubcommandNonZeroReturnValue(self._my_args, returncode)
linaro_image_tools.cmd_runner.SubcommandNonZeroReturnValue: Sub process "['mv', '-f', '/tmp/tmpPmKOmQ/binary/etc/resolv.conf', '/tmp/tmpPmKOmQ/resolv.conf']" returned a non-zero value: 1

Please advise...