SHARE
TWEET

Untitled

a guest Sep 13th, 2014 265 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # bash -x pacstrap /mnt base
  2. + shopt -s extglob
  3. + pseudofs_types=([anon_inodefs]=1 [autofs]=1 [bdev]=1 [binfmt_misc]=1 [cgroup]=1 [configfs]=1 [cpuset]=1 [debugfs]=1 [devfs]=1 [devpts]=0 [devtmpfs]=1 [dlmfs]=1 [fuse.gvfs-fuse-daemon]=1 [fusectl]=1 [hugetlbfs]=1 [mqueue]=1 [nfsd]=1 [none]=1 [pipefs]=1 [proc]=1 [pstore]=1 [ramfs]=1 [rootfs]=1 [rpc_pipefs]=1 [securityfs]=1 [sockfs]=1 [spufs]=1 [sysfs]=1 [tmpfs]=1)
  4. + declare -A pseudofs_types
  5. + fsck_types=([cramfs]=1 [exfat]=1 [ext2]=1 [ext3]=1 [ext4]=1 [ext4dev]=1 [jfs]=1 [minix]=1 [msdos]=1 [reiserfs]=1 [vfat]=1 [xfs]=1)
  6. + declare -A fsck_types
  7. + newroot=/mnt
  8. + hostcache=0
  9. + copykeyring=1
  10. + copymirrorlist=1
  11. + [[ -z /mnt ]]
  12. + [[ /mnt = @(-h|--help) ]]
  13. + ((  EUID == 0  ))
  14. + getopts :C:cdGiM flag
  15. + shift 0
  16. + ((  2  ))
  17. + newroot=/mnt
  18. + shift
  19. + pacman_args=("${@:-base}")
  20. + ((  ! hostcache  ))
  21. + pacman_args+=(--cachedir="$newroot/var/cache/pacman/pkg")
  22. + ((  ! interactive  ))
  23. + pacman_args+=(--noconfirm)
  24. + [[ -n '' ]]
  25. + [[ -d /mnt ]]
  26. + mountpoint -q /mnt
  27. + msg 'Creating install root at %s' /mnt
  28. + out '==>' 'Creating install root at %s' /mnt
  29. + printf '==> Creating install root at %s\n' /mnt
  30. ==> Creating install root at /mnt
  31. + mkdir -m 0755 -p /mnt/var/cache/pacman/pkg /mnt/var/lib/pacman /mnt/var/log /mnt/dev /mnt/run /mnt/etc
  32. + mkdir -m 1777 -p /mnt/tmp
  33. + mkdir -m 0555 -p /mnt/sys /mnt/proc
  34. + api_fs_mount /mnt
  35. + mount_conditionally '! mountpoint -q '\''/mnt'\''' /mnt /mnt --bind
  36. + local 'cond=! mountpoint -q '\''/mnt'\'''
  37. + shift
  38. + eval '! mountpoint -q '\''/mnt'\'''
  39. ++ mountpoint -q /mnt
  40. + track_mount proc /mnt/proc -t proc -o nosuid,noexec,nodev
  41. + [[ -z '' ]]
  42. + CHROOT_ACTIVE_MOUNTS=()
  43. + trap chroot_umount EXIT
  44. + mount proc /mnt/proc -t proc -o nosuid,noexec,nodev
  45. + CHROOT_ACTIVE_MOUNTS=("$2" "${CHROOT_ACTIVE_MOUNTS[@]}")
  46. + track_mount sys /mnt/sys -t sysfs -o nosuid,noexec,nodev,ro
  47. + [[ -z /mnt/proc ]]
  48. + mount sys /mnt/sys -t sysfs -o nosuid,noexec,nodev,ro
  49. + CHROOT_ACTIVE_MOUNTS=("$2" "${CHROOT_ACTIVE_MOUNTS[@]}")
  50. + ignore_error mount_conditionally '[[ -d '\''/mnt/sys/firmware/efi/efivars'\'' ]]' efivarfs /mnt/sys/firmware/efi/efivars -t efivarfs -o nosuid,noexec,nodev
  51. + mount_conditionally '[[ -d '\''/mnt/sys/firmware/efi/efivars'\'' ]]' efivarfs /mnt/sys/firmware/efi/efivars -t efivarfs -o nosuid,noexec,nodev
  52. + return 0
  53. + track_mount udev /mnt/dev -t devtmpfs -o mode=0755,nosuid
  54. + [[ -z /mnt/sys ]]
  55. + mount udev /mnt/dev -t devtmpfs -o mode=0755,nosuid
  56. + CHROOT_ACTIVE_MOUNTS=("$2" "${CHROOT_ACTIVE_MOUNTS[@]}")
  57. + track_mount devpts /mnt/dev/pts -t devpts -o mode=0620,gid=5,nosuid,noexec
  58. + [[ -z /mnt/dev ]]
  59. + mount devpts /mnt/dev/pts -t devpts -o mode=0620,gid=5,nosuid,noexec
  60. mount: mount point /mnt/dev/pts does not exist
  61. + die 'failed to setup API filesystems in new root'
  62. + error 'failed to setup API filesystems in new root'
  63. + out '==> ERROR:' 'failed to setup API filesystems in new root'
  64. + printf '==> ERROR: failed to setup API filesystems in new root\n'
  65. ==> ERROR: failed to setup API filesystems in new root
  66. + exit 1
  67. + chroot_umount
  68. + umount /mnt/dev /mnt/sys /mnt/proc
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top