← Back to team overview

linaro-release team mailing list archive

[Bug 882389] Re: linaro-media-create failed on a oneiric host

 

*** This bug is a duplicate of bug 885895 ***
    https://bugs.launchpad.net/bugs/885895

** This bug is no longer a duplicate of bug 876863
   Unable to create a hwpack with latest l-i-t and 64bit Oneiric as a host
** This bug has been marked a duplicate of bug 885895
   linaro-image-tools (hwpack-create) broken on oneiric 64-bits

-- 
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/882389

Title:
  linaro-media-create failed on a oneiric host

Status in Linaro Image Tools:
  New
Status in Linaro Freescale Landing Team Project:
  New

Bug description:
  linaro-media-create failed on an oneiric host to create a bootable SD
  card. Error messages as below:

  $ linaro-media-create --mmc /dev/sdb --dev mx53loco --hwpack
  hwpack_linaro-lt-mx5_20111026-0_armel_supported.tar.gz --binary
  linaro-o-ubuntu-desktop-tar-20111024-1.tar.gz

  I see...
  Device           Mount point      Size
  /dev/sda         none             38164MB
  /dev/sda1        /                7628MB
  /dev/sda2        none             1907MB
  /dev/sda3        /home            28628MB
  /dev/sdb         none             3781MB
  /dev/sdb1        none             3MB
  /dev/sdb2        none             52MB
  /dev/sdb3        none             3725MB
  /dev/sr0         none             0MB
  Are you 100% sure, on selecting [/dev/sdb] (y/n)? y
  [sudo] password for ycmiao: 
  2mv: cannot stat `/tmp/tmpYV7YUQ/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 "['sudo', '-E', 'mv', '-f', '/tmp/tmpYV7YUQ/binary/etc/resolv.conf', '/tmp/tmpYV7YUQ/resolv.conf']" returned a non-zero value: 1

  Linaro-image-tools is installed from ppa:linaro-maintainers/tools, and
  versions as below:

  
  $ dpkg -l | grep 'linaro-image-tools'
  ii  linaro-image-tools                     2011.09-1                               collection of tools to work with Linaro images
  ii  python-linaro-image-tools              2011.09-1                               Python library for the manipulation of Linaro bootable media

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-image-tools/+bug/882389/+subscriptions


References