我正试图在Precise 12.04的Lucid 10.04下设置一个色度图像。这个过程似乎很好,但是当我做schroot -c precise -u root时,我没有看到在/home下的任何颜色图像。这意味着/home没有被挂载。
我的挂载-默认内容:
cat /etc/schroot/mount-defaults
# mount.defaults: static file system information for chroots.
# Note that the mount point will be prefixed by the chroot path
# (CHROOT_PATH)
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
#procbususb /proc/bus/usb usbfs defaults 0 0
#/dev /dev none rw,bind 0 0
/dev/pts /dev/pts none rw,bind 0 0
/dev/shm /dev/shm none rw,bind 0 0
/home /home none rw,bind 0 0
/tmp /tmp none rw,bind 0 0我的主机/home是一个单独分区的挂载。如何使/home或任何外部目录挂载在我的chroot图像上?
发布于 2015-10-14 08:25:46
诀窍是将type=directory放在/etc/schroot/schroot.conf下的图像定义中。有关详细信息,请参阅man schroot.conf。
https://askubuntu.com/questions/685215
复制相似问题