Subject: bash + chroot
To: None <netbsd-help@netbsd.org>
From: Chris <rtschrisp@earthlink.net>
List: netbsd-help
Date: 12/23/2002 04:13:56
Greetings,

	This may be OT but ill try :) Im writing a script to build a bunch
of source, and at a particular section of the script, I would like to
chroot a directory, and compile a few packages within the chroot
enviroment. I am writing the script for bash. From what I have been doing
it seems as if my script will do the chroot, but the compile will start
after the chrooted enviroment is exited. Any ideas? I know I could have
the user chroot then run another script in the chrooted enviroment, but id
rather automate everything :)

Thanks alot!
- Chris