Skip to content

Instantly share code, notes, and snippets.

@locusf
Created July 26, 2017 10:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save locusf/3a285ff1b68bc516c8db20e95bc28f4a to your computer and use it in GitHub Desktop.
Save locusf/3a285ff1b68bc516c8db20e95bc28f4a to your computer and use it in GitHub Desktop.
(012353) [13:22:47] % sudo modprobe loop
(012353) [13:22:47] (native) % losetup -f /home/user/rootfs/nokia-rx51.img
losetup: /home/user/rootfs/nokia-rx51.img: Warning: file is smaller than 512 bytes; the loop device may be useless or invisible for system tools.
(012353) [13:22:47] (native) % losetup --json --list
(012353) [13:22:47] ERROR: sequence item 3: expected str instance, NoneType found
(012353) [13:22:47] Run 'pmbootstrap log' for details.
(012353) [13:22:47] See also: <https://postmarketos.org/troubleshooting>
(012353) [13:22:47] Traceback (most recent call last):
File "./pmbootstrap.py", line 53, in main
getattr(pmb.helpers.frontend, args.action)(args)
File "/home/locusf/pmbootstrap/pmb/helpers/frontend.py", line 73, in install
pmb.install.install(args)
File "/home/locusf/pmbootstrap/pmb/install/install.py", line 118, in install
pmb.install.blockdevice.create(args)
File "/home/locusf/pmbootstrap/pmb/install/blockdevice.py", line 97, in create
create_and_mount_image(args)
File "/home/locusf/pmbootstrap/pmb/install/blockdevice.py", line 85, in create_and_mount_image
"/chroot_native/dev/install")
File "/home/locusf/pmbootstrap/pmb/helpers/mount.py", line 77, in bind_blockdevice
destination])
File "/home/locusf/pmbootstrap/pmb/helpers/run.py", line 85, in root
return user(args, cmd, log, working_dir, return_stdout, check)
File "/home/locusf/pmbootstrap/pmb/helpers/run.py", line 73, in user
msg = "% " + " ".join(cmd)
TypeError: sequence item 3: expected str instance, NoneType found
(014468) [13:23:04] % tail -f /home/locusf/.local/var/pmbootstrap/log.txt -n 30
(014468) [13:23:04] *** output passed to pmbootstrap stdout, not to this log ***
(014664) [13:23:47] % tail -f /home/locusf/.local/var/pmbootstrap/log.txt -n 30
(014664) [13:23:47] *** output passed to pmbootstrap stdout, not to this log ***
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment