Subject: script to create a chroot for Solaris 7 by the use of the Solaris
To: None <>
From: Pierre Bourgin <>
List: tech-pkg
Date: 04/30/2003 17:50:09

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:

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)