Unable to installworld after successful buildworld and buildkernel

John-Mark Gurney jmg at funkthat.com
Wed Oct 9 05:52:15 UTC 2013


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."


More information about the freebsd-current mailing list