付费请小伙伴解决 fakeroot 不能 chroot 的问题。

2019-09-25 17:38:03 +08:00
 tinydebian
大家好,在 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/debian
fakeroot chroot $TARGET_DIR /debootstrap/debootstrap --second-stage http://ftp.cn.debian.org/debian

最后一步,fakeroot chroot 不能运行,显示 Operation not permitted.

付费请小伙伴解决 fakeroot 不能 chroot 的问题,有意者请邮件: info@tinydebian.com 。
2897 次点击
所在节点    Linux
1 条回复
codehz
2019-09-25 18:18:12 +08:00
因为你需要 fakechroot
常规操作不是 fakechroot fakeroot chroot 这样的么

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/604133

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX