大家好,在 Ubuntu 16.04.x 下运行下面的命令:
export DISTRO=stretch
export TARGET_DIR=`pwd`/debian_rootfs
echo $TARGET_DIR
fakeroot debootstrap --foreign $DISTRO $TARGET_DIR
http://ftp.cn.debian.org/debianfakeroot chroot $TARGET_DIR /debootstrap/debootstrap --second-stage
http://ftp.cn.debian.org/debian最后一步,fakeroot chroot 不能运行,显示 Operation not permitted.
付费请小伙伴解决 fakeroot 不能 chroot 的问题,有意者请邮件: info@tinydebian.com 。