Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2001 07:27:20 +0300 (MSK)
From:      "."@babolo.ru
To:        coolvibe@hackerheaven.org (Emiel Kollof)
Cc:        alane@geeksrus.net, ports@FreeBSD.ORG
Subject:   Re: building as non-root
Message-ID:  <200112020427.HAA11468@aaz.links.ru>
In-Reply-To: <20011202035008.762191CA3@router.hackerheaven.org> from "Emiel Kollof" at "Dec 2, 1 04:50:22 am"

next in thread | previous in thread | raw e-mail | index | archive | help
Emiel Kollof writes:
> On Sunday 02 December 2001 02:30, Alan Eldridge wrote:
> [fake root snip]
> 
> Why not use a chrooted env? That's probably easier for packaging (since you 
> don't have to "fake" the ports system). Heck, I bet you can use jails for 
> that as well. Also, a rampant makefile can only wreck stuff in the chrooted 
> env, so you have your protection.
chrooted env usually installed by for example

make installworld DESTDIR=/somejailorchroot

To install ports in jail or chroot much work to tune need:
mount /usr/ports, /usr/ports/distfiles so on.
There is much difference beetween

for i in /jail/1 /jail/2 ..... ;do
    make reinstall DESTDIR=$i
done

and establish every /jail (or chroot)
been able build/install port
More of, such tuning of running jail
is not desireable sometimes.

> Or am I saying something completely stupid and outrageous here :-)
> 
> Cheers,
> Emiel

-- 
@BABOLO      http://links.ru/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112020427.HAA11468>