On Mon, Aug 25, 2014 at 9:55 AM, Brooks Davis <bro...@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
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Reply via email to