Date: Thu, 28 Aug 2014 12:02:06 -0700 From: Craig Rodrigues <rodrigc@freebsd.org> To: Brooks Davis <brooks@freebsd.org> Cc: freebsd-current Current <freebsd-current@freebsd.org> Subject: Re: "make installworld" commands used to generate manifest for makefs? Message-ID: <CAG=rPVeag%2B2GpcKX=64UL3jTdw0TMzO6gJsxeXBxpp3Kkt48LA@mail.gmail.com> In-Reply-To: <20140825165522.GC91673@spindle.one-eyed-alien.net> References: <CAG=rPVdB424eOLCcdJmMOT2mxf8g_BYBnYX%2Bre=5JJJXO38T3g@mail.gmail.com> <20140825165522.GC91673@spindle.one-eyed-alien.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 25, 2014 at 9:55 AM, Brooks Davis <brooks@freebsd.org> wrote: > On Sun, Aug 24, 2014 at 04:10:21PM -0700, Craig Rodrigues wrote: >> Hi, >> >> Is there an easy way to take most of the commands performed >> during "make installworld" and create a manifest file >> which is compatible with makefs? > > make -DNO_ROOT -DDB_FROM_SRC DESTDIR=<foo> installworld > > should result in a <foo>/METALOG file suitable for passing to makefs. > You may also want the distribution target if you want a populated /etc. > > -- Broks Thanks, that's useful info! I did this: make -DDB_FROM_SRC -DNO_ROOT installkernel DESTDIR=/tmp/test4 make -DDB_FROM_SRC -DNO_ROOT installworld DESTDIR=/tmp/test4 make -DDB_FROM_SRC -DNO_ROOT distribution DESTDIR=/tmp/test4 /tmp/test4/METALOG was created, but it did not seem to have /boot/kernel/kernel or any kernel modules. Is that expected? -- Craig
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVeag%2B2GpcKX=64UL3jTdw0TMzO6gJsxeXBxpp3Kkt48LA>