Subject: script to create a chroot for Solaris 7 by the use of the Solaris
To: None <tech-pkg@netbsd.org>
From: Pierre Bourgin <pierre.bourgin@pcotech.fr>
List: tech-pkg
Date: 04/30/2003 17:50:09
hello,

I've created an sh script under Solaris 7 that construct a chrooted 
environnment by the use of the Solaris packages (from the cdroms of the 
solaris distribution).

My purpose is to provide a build environnment under solaris in order to 
build packages from the NetBSD package system, while keeps the "real" 
solaris server (hosting the chroot) system untouched by these builds.

The main advantage of this script is that the chrooted environnment is 
"under control" by the use of the Solaris packages.

For anynone interrested, just download this archive file:

http://pierre.bourgin.free.fr/solaris_setup_chroot.tar.gz

Hope this can be usefull for you !

Pierre Bourgin

ps: I will be glad if someone from NetBSD wants to put it in the contrib 
section of the NetBSD's FTP server (or be integrated in the 
bootstrap-pkgsrc tarball for instance)