编译命令是:
git clone https://github.com/armbian/build armbian
docker run --name c_armbian -v /root/armbian:/armbian -it ubuntu:21.04 bash
apt install git
cd /armbian
./compile.sh BOARD=rockpi-s BRANCH=current RELEASE=buster KERNEL_ONLY=no KERNEL_CONFIGURE=no BUILD_MINIMAL=no BUILD_DESKTOP=no
主机环境是 Ubuntu 18.04.4,报错内容是:
[ o.k. ] Installing base system [ Stage 2/2 ]
chroot: failed to run command '/bin/bash': Exec format error
[ error ] ERROR in function create_rootfs_cache [ debootstrap.sh:212 ]
[ error ] Debootstrap base system for current rockpi-s buster no second stage failed
[ o.k. ] Process terminated
[ o.k. ] Unmounting [ /armbian/.tmp/rootfs-f321cf67-d4eb-4870-ad36-1313933e4c67/ ]
[ error ] ERROR in function unmount_on_exit [ image-helpers.sh:82 ]
[ error ] debootstrap-ng was interrupted
[ o.k. ] Process terminated
这个是什么问题?怎么解决??求教大佬指点,,谢谢。。
离线
应该是由于墙的原因,buster 的文件系统包下载失败了,自己网上下载一个放进去。
离线