User talk:Brian McNeil/Initialisation

sudo apt-get install --yes debootstrap sudo mkdir -p ~/build/chroot sudo debootstrap --arch=i386 lucid ~/build/chroot sudo mount --bind /dev ~/build/chroot/dev sudo cp /etc/hosts ~/build/chroot/etc/hosts sudo cp /etc/resolv.conf ~/build/chroot/etc/resolv.conf sudo cp ~/build/sources.list ~/build/chroot/etc/apt/sources.list sudo cp ~/build/sources.list-new ~/build/chroot/etc/apt/sources.list-new sudo cp ~/build/10-install-prep.sh ~/build/chroot/10-install-prep.sh sudo cp ~/build/11-install-custom.sh ~/build/chroot/11-install-custom.sh sudo cp ~/build/15-remove-pulseaudio.sh ~/build/chroot/15-remove-pulseaudio.sh sudo cp ~/build/80-install-close.sh ~/build/chroot/80-install-close.sh echo "Basic environment configured. Ready for customisation." echo "Use the following commands:" echo "   $ sudo chroot chroot" echo "   # ./10-install-prep.sh"
 * 1) Filename:	01-makeenv.sh
 * 2) Version:	0.02
 * 3) Date		2010-08-08
 * 4) Author:	Brian McNeil
 * 5) Description:	This script prepares a directory to host a chroot jail
 * 6) 		where a customised installer is to be created.
 * 7) 		This version is for the 'standard' i386 architecture and
 * 8) 		copies various files into the jail to be used once the
 * 9) 		user has entered it to tailor the environment to their
 * 10) 		needs; adding, and removing, packages as required.
 * 1) 		where a customised installer is to be created.
 * 2) 		This version is for the 'standard' i386 architecture and
 * 3) 		copies various files into the jail to be used once the
 * 4) 		user has entered it to tailor the environment to their
 * 5) 		needs; adding, and removing, packages as required.
 * 1) Two sources.list files are provided. The first is to ensure that
 * 2) a current environment can be built instead of going right back
 * 3) to the initial release for the current (lucid) distro.
 * 4) The second contains all the additional repositories to completely
 * 5) tailor the environment to the user's requirements.
 * 1) tailor the environment to the user's requirements.
 * 1) ;END
 * 1) ;END