From owner-freebsd-current@FreeBSD.ORG Wed Oct 9 05:52:15 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4357A506; Wed, 9 Oct 2013 05:52:15 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 08D3D2C68; Wed, 9 Oct 2013 05:52:14 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id r995qD2S018375 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 8 Oct 2013 22:52:13 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id r995qDfB018374; Tue, 8 Oct 2013 22:52:13 -0700 (PDT) (envelope-from jmg) Date: Tue, 8 Oct 2013 22:52:13 -0700 From: John-Mark Gurney To: Thomas Mueller Subject: Re: Unable to installworld after successful buildworld and buildkernel Message-ID: <20131009055213.GM56872@funkthat.com> Mail-Followup-To: Thomas Mueller , freebsd-current@freebsd.org, Brooks Davis References: <3F.9A.16944.166A3525@cdptpa-oedge02> <20131008141501.GA69028@lor.one-eyed-alien.net> <28.45.16944.64B74525@cdptpa-oedge02> <20131008214809.GC69269@lor.one-eyed-alien.net> <44.C1.16944.5E6C4525@cdptpa-oedge02> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44.C1.16944.5E6C4525@cdptpa-oedge02> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Tue, 08 Oct 2013 22:52:13 -0700 (PDT) Cc: freebsd-current@freebsd.org, Brooks Davis X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Oct 2013 05:52:15 -0000 Thomas Mueller wrote this message on Wed, Oct 09, 2013 at 03:00 +0000: > > > But where is DB_FROM_SRC documented? I never saw it anywhere. UPDATING file needs to be updated for installing FreeBSD on a partition where there is no OS installed. > > > It's documented in Makefile.inc1 where the less commonly used options > > are documented. It should be documented in the Handbook along with the > > process of cross installation and image creation. > > > I disagree that UPDATING should document the process of installing to > > other locations. That would be a distraction from it's purpose of > > letting users update their systems. It's already far too complicated. > > -- Brooks > > UPDATING file has a section on cross-installing current into a separate partition. > > This part ought to be complete, including DB_FROM_SRC, rather than leaving a user lost at sea when a new user (unbound) sneaks in. > > UPDATING documented when user auditdistd was added, so why not for unbound? How does this look: Index: UPDATING =================================================================== --- UPDATING (revision 256024) +++ UPDATING (working copy) @@ -1899,7 +1899,7 @@ make buildkernel KERNCONF=YOUR_KERNEL_HERE - make installworld DESTDIR=${CURRENT_ROOT} + make installworld DESTDIR=${CURRENT_ROOT} -DDB_FROM_SRC make distribution DESTDIR=${CURRENT_ROOT} # if newfs'd make installkernel KERNCONF=YOUR_KERNEL_HERE DESTDIR=${CURRENT_ROOT} cp /etc/fstab ${CURRENT_ROOT}/etc/fstab # if newfs'd I tested distribution and it appears not to need it. P.S. I didn't think this feature even existed yet, but apparently it has since January. Thanks brooks. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."