+ chroot /home/jqian/works/OrangePiH5/output/rootfs pacman -Rsn --noconfirm linux-aarch64
chroot: failed to run command 'pacman': Exec format error
+ chroot /home/jqian/works/OrangePiH5/output/rootfs umount /sys
chroot: failed to run command 'umount': Exec format error
+ chroot /home/jqian/works/OrangePiH5/output/rootfs umount /proc
chroot: failed to run command 'umount': Exec format error
root@ubuntu:/home/zhangtao/Documents/orangepi_h3_linux/OrangePi-BuildLinux# ./create_image
Sat Jun 15 14:03:03 CST 2019
=======================================================
Creating Ubuntu/Debian SD Card instalation for OrangePI
=======================================================
Creating root filesistem in local directory linux-xenial...
DEBOOTSTRAP, FIRST STAGE
OK.
Creating "sources.list"
DEBOOTSTRAP, SECOND-STAGE
please wait \/second-stage: line 206: /bin/sleep: cannot execute binary file: Exec format error
please wait |/second-stage: line 206: /bin/sleep: cannot execute binary file: Exec format error
please wait //second-stage: line 206: /bin/sleep: cannot execute binary file: Exec format error
please wait -/second-stage: line 206: /bin/sleep: cannot execute binary file: Exec format error
please wait \/second-stage: line 206: /bin/sleep: cannot execute binary file: Exec format error
please wait |/second-stage: line 206: /bin/sleep: cannot execute binary file: Exec format error
please wait //second-stage: line 206: /bin/sleep: cannot execute binary file: Exec format error
please wait -/second-stage: line 206: /bin/sleep: cannot execute binary file: Exec format error
please wait \/debootstrap/debootstrap: line 382: /bin/cat: cannot execute binary file: Exec format error
/second-stage: line 206: /bin/sleep: cannot execute binary file: Exec format error
ERROR.
================================================
ERROR on second-stage, instalation NOT FINISHED.
================================================
sudo apt purge qemu-user-static
sudo apt install qemu-user-static
https://github.com/orangepi-xunlong/OrangePi_Build/issues/34