Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Oct 2013 22:52:13 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Thomas Mueller <mueller6727@bellsouth.net>
Cc:        freebsd-current@freebsd.org, Brooks Davis <brooks@freebsd.org>
Subject:   Re: Unable to installworld after successful buildworld and buildkernel
Message-ID:  <20131009055213.GM56872@funkthat.com>
In-Reply-To: <44.C1.16944.5E6C4525@cdptpa-oedge02>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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
        <maybe newfs current's root partition>
        <mount current's root partition on directory ${CURRENT_ROOT}>
-       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."



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