Re: port install to jail root from host system
From: Marc Ramirez (marc.ramirez_at_bluecirclesoft.com)
Date: 10/01/03
- Previous message: Jamie: "Re: cannot connect to saslauthd server"
- In reply to: Aragon Gouveia: "port install to jail root from host system"
- Next in thread: Felix 'buebo' Kakrow: "Re: port install to jail root from host system"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 1 Oct 2003 10:56:48 -0400 To: Aragon Gouveia <aragon@phat.za.net>
On Wed, Oct 01, 2003 at 02:48:29PM +0200, Aragon Gouveia wrote:
> Hi,
>
> I've compiled a port as normal (apache13 in this case). I'd like to run
> 'make install' now and tell it to install the package to the base of the
> root filesystem of a jail from the jail's host. Possibly also to skip
> registering it in the host's package database.
>
> Does anyone know an easy way to do this with the ports system?
>
> I realise apache is dependant on various libraries that may not be in the
> jail, but these dependancies I will resolve manually.
Just off the top of my head, certainly not guaranteed to be the
optimal solution, never tested, etc...
# assuming /jailfs is the root of your jail:
# install in /jailfs/bin, /jailfs/data, etc...
cd /usr/ports/www/apache13
make PREFIX=/jailfs install
# now in your jail, you'll have /bin/apachectl, but it'll be looking
# for /jailfs/sbin/httpd, so create a symlink
ln -s / /jailfs/jailfs
-- Marc Ramirez Blue Circle Software Corporation 513-688-1070 (main) 513-382-1270 (direct) http://www.bluecirclesoft.com http://www.mrami.com (personal) _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
- Previous message: Jamie: "Re: cannot connect to saslauthd server"
- In reply to: Aragon Gouveia: "port install to jail root from host system"
- Next in thread: Felix 'buebo' Kakrow: "Re: port install to jail root from host system"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|