Advertisement
Guest User

Untitled

a guest
Aug 19th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.34 KB | None | 0 0
  1. ==> initramfs: creating /boot/initramfs-samsung-i9100-extra
  2. (016106) [22:33:34] *** SET LOGIN PASSWORD FOR: 'user' ***
  3. (016106) [22:33:34] (rootfs_samsung-i9100) % passwd user
  4. (016106) [22:33:34] *** output passed to pmbootstrap stdout, not to this log ***
  5. (016106) [22:34:33] WARNING: Failed to set the password. Try it one more time.
  6. (016106) [22:34:33] (rootfs_samsung-i9100) % passwd user
  7. (016106) [22:34:33] *** output passed to pmbootstrap stdout, not to this log ***
  8. (016106) [22:34:47] *** (3/5) PREPARE INSTALL BLOCKDEVICE ***
  9. (016106) [22:34:47] (native) stop distccd (armhf)
  10. (016106) [22:34:47] (native) % su user -c 'kill 18903'
  11. (016106) [22:34:47] % sudo umount /home/safarik/.local/var/pmbootstrap/chroot_rootfs_samsung-i9100/var/cache/distfiles
  12. (016106) [22:34:47] % sudo umount /home/safarik/.local/var/pmbootstrap/chroot_rootfs_samsung-i9100/var/cache/apk
  13. (016106) [22:34:47] % sudo umount /home/safarik/.local/var/pmbootstrap/chroot_rootfs_samsung-i9100/proc
  14. (016106) [22:34:47] % sudo umount /home/safarik/.local/var/pmbootstrap/chroot_rootfs_samsung-i9100/home/user/packages/user
  15. (016106) [22:34:47] % sudo umount /home/safarik/.local/var/pmbootstrap/chroot_rootfs_samsung-i9100/home/user/git
  16. (016106) [22:34:47] % sudo umount /home/safarik/.local/var/pmbootstrap/chroot_rootfs_samsung-i9100/home/user/.ccache
  17. (016106) [22:34:47] % sudo umount /home/safarik/.local/var/pmbootstrap/chroot_rootfs_samsung-i9100/home/user/.abuild
  18. (016106) [22:34:47] % sudo umount /home/safarik/.local/var/pmbootstrap/chroot_rootfs_samsung-i9100/etc/apk/keys
  19. (016106) [22:34:47] % sudo du --summarize --block-size=1 /home/safarik/.local/var/pmbootstrap/chroot_rootfs_samsung-i9100
  20. 285425664 /home/safarik/.local/var/pmbootstrap/chroot_rootfs_samsung-i9100
  21. (016106) [22:34:47] % sudo du --summarize --block-size=1 /home/safarik/.local/var/pmbootstrap/chroot_rootfs_samsung-i9100/boot
  22. 10559488 /home/safarik/.local/var/pmbootstrap/chroot_rootfs_samsung-i9100/boot
  23. (016106) [22:34:47] % sudo du --summarize --block-size=1 /home/safarik/.local/var/pmbootstrap/chroot_rootfs_samsung-i9100/home
  24. 28672 /home/safarik/.local/var/pmbootstrap/chroot_rootfs_samsung-i9100/home
  25. (016106) [22:34:47] (native) create samsung-i9100.img (327M)
  26. (016106) [22:34:47] WARNING: Make sure, that your target device's partition table has allocated at least 327M as system partition!
  27. [22:34:47] Continue? (y/n) [y] y
  28. (016106) [22:35:08] (native) % su user -c 'mkdir -p /home/user/rootfs'
  29. (016106) [22:35:08] (native) % truncate -s 327M /home/user/rootfs/samsung-i9100.img
  30. (016106) [22:35:08] (native) mount /dev/install (samsung-i9100.img)
  31. (016106) [22:35:08] (native) mount /home/user/rootfs/samsung-i9100.img (loop)
  32. (016106) [22:35:08] % sudo touch /home/safarik/.local/var/pmbootstrap/chroot_native//dev/loop-control
  33. (016106) [22:35:08] % sudo mount --bind /dev/loop-control /home/safarik/.local/var/pmbootstrap/chroot_native//dev/loop-control
  34. (016106) [22:35:08] (native) % losetup -f /home/user/rootfs/samsung-i9100.img
  35. losetup: /home/user/rootfs/samsung-i9100.img: failed to set up loop device: No such file or directory
  36. (016106) [22:35:09] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  37. (016106) [22:35:09] NOTE: The failed command's output is above the ^^^ line in the logfile: /home/safarik/.local/var/pmbootstrap/log.txt
  38. (016106) [22:35:09] ERROR: Command failed: (native) % losetup -f /home/user/rootfs/samsung-i9100.img
  39. (016106) [22:35:09] Run 'pmbootstrap log' for details.
  40. (016106) [22:35:09] See also: <https://postmarketos.org/troubleshooting>
  41. (016106) [22:35:09] Traceback (most recent call last):
  42. File "/home/safarik/apps/pmbootstrap/pmb/helpers/run.py", line 45, in core
  43. stderr=args.logfd)
  44. File "/usr/lib/python3.5/subprocess.py", line 271, in check_call
  45. raise CalledProcessError(retcode, cmd)
  46. subprocess.CalledProcessError: Command '['sudo', '/bin/sh', '-c', "env -i CHARSET=UTF-8 PATH=/usr/lib/ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin SHELL=/bin/ash HISTFILE=~/.ash_history /usr/sbin/chroot /home/safarik/.local/var/pmbootstrap/chroot_native sh -c 'cd /;losetup -f /home/user/rootfs/samsung-i9100.img'"]' returned non-zero exit status 1
  47.  
  48. The above exception was the direct cause of the following exception:
  49.  
  50. Traceback (most recent call last):
  51. File "./pmbootstrap.py", line 53, in main
  52. getattr(pmb.helpers.frontend, args.action)(args)
  53. File "/home/safarik/apps/pmbootstrap/pmb/helpers/frontend.py", line 113, in install
  54. pmb.install.install(args)
  55. File "/home/safarik/apps/pmbootstrap/pmb/install/install.py", line 176, in install
  56. pmb.install.blockdevice.create(args, size_image)
  57. File "/home/safarik/apps/pmbootstrap/pmb/install/blockdevice.py", line 101, in create
  58. create_and_mount_image(args, size)
  59. File "/home/safarik/apps/pmbootstrap/pmb/install/blockdevice.py", line 84, in create_and_mount_image
  60. pmb.install.losetup.mount(args, img_path)
  61. File "/home/safarik/apps/pmbootstrap/pmb/install/losetup.py", line 44, in mount
  62. pmb.chroot.root(args, ["losetup", "-f", img_path])
  63. File "/home/safarik/apps/pmbootstrap/pmb/chroot/root.py", line 86, in root
  64. return_stdout, check)
  65. File "/home/safarik/apps/pmbootstrap/pmb/helpers/run.py", line 58, in core
  66. raise RuntimeError("Command failed: " + log_message) from exc
  67. RuntimeError: Command failed: (native) % losetup -f /home/user/rootfs/samsung-i9100.img
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement