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

From: Craig Rodrigues <rodrigc_at_freebsd.org>
Date: Thu, 28 Aug 2014 12:02:06 -0700
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?

--
Craig
Received on Thu Aug 28 2014 - 17:02:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:51 UTC