Hi,

Run following under "script" to learn best practice to create chroot.

$ sudo pbuilder --create --no-targz --debug

 * see how debootstrap populates data under /var/cache/pbuilder/builds/

$ sudo pbuilder --login --no-targz  --debug

 * copying local configuration (/etc/hosts, /etc/hostname, /etc/resolv.conf)
 * mounting /proc filesystem
 * mounting /dev/pts filesystem
 * policy-rc.d created (in /usr/sbin, always exits with 101)
 * chroot /var/cache/pbuilder/build/ bin/bash -c 'exec -a -bash bin/bash'

For policy-rc.d, see /usr/share/doc/sysv-rc/README.policy-rc.d.gz

This should give best practice for creating chroot.

Now I need 2 X systems running on a pc. :-)

Osamu




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to