I build image for ROCK Pi E on a HOST PC by https://wiki.radxa.com/RockpiE/dev/Debian,Build uboot and kernel are ok, but build the rootfs error,like this:
root@e841ba3e039a:/RockPIE/rockchip-bsp/rk-rootfs-build# RELEASE=buster TARGET=desktop ARCH=arm64 ./mk-base-debian.sh
I: Extracting zlib1g…
P: Running debootstrap second stage under QEMU
chroot: failed to run command ‘/usr/bin/env’: Exec format error
E: An unexpected failure occurred, exiting…
if [ -f binary-tar.tar.gz ]; then
tar -jcf linaro-buster-alip-date +%Y%m%d
-1.config.tar.bz2 auto/ config/ configure;
mv binary.contents linaro-buster-alip-date +%Y%m%d
-1.contents;
mv chroot.packages.live linaro-buster-alip-date +%Y%m%d
-1.packages;
mv binary-tar.tar.gz linaro-buster-alip-date +%Y%m%d
-1.tar.gz;
md5sum linaro-buster-alip-date +%Y%m%d
-1.build-log.txt linaro-buster-alip-date +%Y%m%d
-1.config.tar.bz2 linaro-buster-alip-date +%Y%m%d
-1.contents linaro-buster-alip-date +%Y%m%d
-1.packages linaro-buster-alip-date +%Y%m%d
-1.tar.gz > linaro-buster-alip-date +%Y%m%d
-1.md5sums.txt;
sha1sum linaro-buster-alip-date +%Y%m%d
-1.build-log.txt linaro-buster-alip-date +%Y%m%d
-1.config.tar.bz2 linaro-buster-alip-date +%Y%m%d
-1.contents linaro-buster-alip-date +%Y%m%d
-1.packages linaro-buster-alip-date +%Y%m%d
-1.tar.gz > linaro-buster-alip-date +%Y%m%d
-1.sha1sums.txt;
fi
Failed to run livebuild, please check your network connection.
please help me! thanks