"make installworld" commands used to generate manifest for makefs?

Craig Rodrigues rodrigc at freebsd.org
Thu Aug 28 19:02:09 UTC 2014

On Mon, Aug 25, 2014 at 9:55 AM, Brooks Davis <brooks at 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?


More information about the freebsd-current mailing list