Subject: Re: Advices needed...
To: Eric Jacoboni <jaco@teaser.fr>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 12/03/2001 23:32:22
On Mon, Dec 03, 2001 at 09:56:17PM +0100, Eric Jacoboni wrote:
> Until now, i've always built my world directly under / (without
> DESTDIR) but it seems i play with fire to do so... In order to build
> my world the most secure way, i'm considering to build it first into,
> say /usr/build (via build.sh -D /usr/build).
I always build in / too, and never got major problems.
>
> If the build succeeds, the next step will be, of course, to copy the
> /usr/build tree under / without overloading existing important stuff
> like /etc, /home and the like. Is there preferred methods to achieve
> this ?
I would use tar --exclude etc -cf - . | (cd / && tar xpf -)
find/cpio should work too.
--
Manuel Bouyer <bouyer@antioche.eu.org>
--