From owner-freebsd-stable@FreeBSD.ORG Wed May 27 02:22:18 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99893A76 for ; Wed, 27 May 2015 02:22:18 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from pmta2.delivery6.ore.mailhop.org (pmta2.delivery6.ore.mailhop.org [54.200.129.228]) by mx1.freebsd.org (Postfix) with SMTP id 7A0A1D44 for ; Wed, 27 May 2015 02:22:18 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from ilsoft.org (unknown [73.34.117.227]) by outbound2.ore.mailhop.org (Halon Mail Gateway) with ESMTPSA; Wed, 27 May 2015 02:22:37 +0000 (UTC) Received: from revolution.hippie.lan (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id t4R2MF2K014502; Tue, 26 May 2015 20:22:15 -0600 (MDT) (envelope-from ian@freebsd.org) Message-ID: <1432693335.1200.63.camel@freebsd.org> Subject: Re: How do I build a brand new /etc? From: Ian Lepore To: kpneal@pobox.com Cc: freebsd-stable@freebsd.org Date: Tue, 26 May 2015 20:22:15 -0600 In-Reply-To: <20150527022015.GA19633@neutralgood.org> References: <20150527022015.GA19633@neutralgood.org> Content-Type: text/plain; charset="us-ascii" X-Mailer: Evolution 3.12.10 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2015 02:22:18 -0000 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