Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # bash -x pacstrap /mnt base
- + shopt -s extglob
- + 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)
- + declare -A pseudofs_types
- + 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)
- + declare -A fsck_types
- + newroot=/mnt
- + hostcache=0
- + copykeyring=1
- + copymirrorlist=1
- + [[ -z /mnt ]]
- + [[ /mnt = @(-h|--help) ]]
- + (( EUID == 0 ))
- + getopts :C:cdGiM flag
- + shift 0
- + (( 2 ))
- + newroot=/mnt
- + shift
- + pacman_args=("${@:-base}")
- + (( ! hostcache ))
- + pacman_args+=(--cachedir="$newroot/var/cache/pacman/pkg")
- + (( ! interactive ))
- + pacman_args+=(--noconfirm)
- + [[ -n '' ]]
- + [[ -d /mnt ]]
- + mountpoint -q /mnt
- + msg 'Creating install root at %s' /mnt
- + out '==>' 'Creating install root at %s' /mnt
- + printf '==> Creating install root at %s\n' /mnt
- ==> Creating install root at /mnt
- + mkdir -m 0755 -p /mnt/var/cache/pacman/pkg /mnt/var/lib/pacman /mnt/var/log /mnt/dev /mnt/run /mnt/etc
- + mkdir -m 1777 -p /mnt/tmp
- + mkdir -m 0555 -p /mnt/sys /mnt/proc
- + api_fs_mount /mnt
- + mount_conditionally '! mountpoint -q '\''/mnt'\''' /mnt /mnt --bind
- + local 'cond=! mountpoint -q '\''/mnt'\'''
- + shift
- + eval '! mountpoint -q '\''/mnt'\'''
- ++ mountpoint -q /mnt
- + track_mount proc /mnt/proc -t proc -o nosuid,noexec,nodev
- + [[ -z '' ]]
- + CHROOT_ACTIVE_MOUNTS=()
- + trap chroot_umount EXIT
- + mount proc /mnt/proc -t proc -o nosuid,noexec,nodev
- + CHROOT_ACTIVE_MOUNTS=("$2" "${CHROOT_ACTIVE_MOUNTS[@]}")
- + track_mount sys /mnt/sys -t sysfs -o nosuid,noexec,nodev,ro
- + [[ -z /mnt/proc ]]
- + mount sys /mnt/sys -t sysfs -o nosuid,noexec,nodev,ro
- + CHROOT_ACTIVE_MOUNTS=("$2" "${CHROOT_ACTIVE_MOUNTS[@]}")
- + ignore_error mount_conditionally '[[ -d '\''/mnt/sys/firmware/efi/efivars'\'' ]]' efivarfs /mnt/sys/firmware/efi/efivars -t efivarfs -o nosuid,noexec,nodev
- + mount_conditionally '[[ -d '\''/mnt/sys/firmware/efi/efivars'\'' ]]' efivarfs /mnt/sys/firmware/efi/efivars -t efivarfs -o nosuid,noexec,nodev
- + return 0
- + track_mount udev /mnt/dev -t devtmpfs -o mode=0755,nosuid
- + [[ -z /mnt/sys ]]
- + mount udev /mnt/dev -t devtmpfs -o mode=0755,nosuid
- + CHROOT_ACTIVE_MOUNTS=("$2" "${CHROOT_ACTIVE_MOUNTS[@]}")
- + track_mount devpts /mnt/dev/pts -t devpts -o mode=0620,gid=5,nosuid,noexec
- + [[ -z /mnt/dev ]]
- + mount devpts /mnt/dev/pts -t devpts -o mode=0620,gid=5,nosuid,noexec
- mount: mount point /mnt/dev/pts does not exist
- + die 'failed to setup API filesystems in new root'
- + error 'failed to setup API filesystems in new root'
- + out '==> ERROR:' 'failed to setup API filesystems in new root'
- + printf '==> ERROR: failed to setup API filesystems in new root\n'
- ==> ERROR: failed to setup API filesystems in new root
- + exit 1
- + chroot_umount
- + umount /mnt/dev /mnt/sys /mnt/proc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement