我根据 Build Debian from scratch 在编译rootfs这一步出错,
输入命令 RELEASE=buster TARGET=desktop ARCH=arm64 ./mk-base-debian.sh
运行一段时间后出现错误
I: Retrieving zlib1g 1:1.2.11.dfsg-1
I: Validating zlib1g 1:1.2.11.dfsg-1
P: If the following stage fails, the most likely cause of the problem is with your mirror configuration or a caching proxy.
P: Bootstrap will be foreign
/usr/sbin/debootstrap: 1450: cannot create /proj/rock3a-bsp/rootfs/ubuntu-build-service/buster-desktop-arm64/chroot/test-dev-null: Permission denied
E: Cannot install into target '/proj/rock3a-bsp/rootfs/ubuntu-build-service/buster-desktop-arm64/chroot' mounted with noexec or nodev
P: Begin unmounting filesystems...
P: Saving caches...
if [ -f binary-tar.tar.gz ]; then \
tar -jcf linaro-buster-alip-`date +%Y%m%d`-1.config.tar.bz2 auto/ config/ configure; \
sudo mv binary.contents linaro-buster-alip-`date +%Y%m%d`-1.contents; \
sudo mv chroot.packages.live linaro-buster-alip-`date +%Y%m%d`-1.packages; \
sudo 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
我已经用root用户运行了的,而且网络也试过改用代理,都是出现这个错误。请问有没有解决办法~~
希望官方能提供一个打包好的rootfs img文件