Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 May 2015 20:22:15 -0600
From:      Ian Lepore <ian@freebsd.org>
To:        kpneal@pobox.com
Cc:        freebsd-stable@freebsd.org
Subject:   Re: How do I build a brand new /etc?
Message-ID:  <1432693335.1200.63.camel@freebsd.org>
In-Reply-To: <20150527022015.GA19633@neutralgood.org>
References:  <20150527022015.GA19633@neutralgood.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2015-05-26 at 22:20 -0400, kpneal@pobox.com wrote:
> So, I built a new 9.3-p14 with these commands:
> 
> #! /bin/sh
> 
> set -x
> export DESTDIR=/ROOT/in_progress/
> export MAKEOBJDIRPREFIX=$DESTDIR/usr/obj
> 
> cd $DESTDIR/usr/src
> 
> make buildworld &&
> make buildkernel
> 
> 
> Then as root I:
>    make installkernel &&
>    make installworld
> 
> ... with DESTDIR and MAKEOBJDIRPREFIX set in the environment.
> 
> This gave me a nearly full install. The only thing lacking is the new
> /etc. The /etc in the $DESTDIR contains the usual 20+ subdirectories,
> but no files. 
> 
> How do I populate an empty /etc?
> 

make distribution

-- Ian





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