Date: Fri, 5 Sep 2014 22:54:27 -0700 From: Garrett Cooper <yaneurabeya@gmail.com> To: Boris Samorodov <bsam@passap.ru> Cc: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: Re: "make installworld" commands used to generate manifest for makefs? Message-ID: <2853B06A-1497-451F-A7EF-D294E6F98093@gmail.com> In-Reply-To: <540886EE.3050708@passap.ru> References: <CAG=rPVdB424eOLCcdJmMOT2mxf8g_BYBnYX%2Bre=5JJJXO38T3g@mail.gmail.com> <20140825165522.GC91673@spindle.one-eyed-alien.net> <CAG=rPVeag%2B2GpcKX=64UL3jTdw0TMzO6gJsxeXBxpp3Kkt48LA@mail.gmail.com> <54072D80.4010402@passap.ru> <257cbfbf-959e-44f2-bef0-86c12522de03@email.android.com> <540886EE.3050708@passap.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Sep 4, 2014, at 8:36, Boris Samorodov <bsam@passap.ru> wrote: >=20 > 03.09.2014 21:01, Nenhum_de_Nos =1B$B'a'Z'j'V'd=1B(B: >>=20 >>=20 >>> On September 3, 2014 12:02:24 PM GMT-03:00, Boris Samorodov <bsam@passap= .ru> wrote: >>> 28.08.2014 23:02, Craig Rodrigues =1B$B'a'Z'j'V'd=1B(B: >>>=20 >>>> I did this: >>>>=20 >>>> make -DDB_FROM_SRC -DNO_ROOT installkernel DESTDIR=3D/tmp/test4 >>>> make -DDB_FROM_SRC -DNO_ROOT installworld DESTDIR=3D/tmp/test4 >>>> make -DDB_FROM_SRC -DNO_ROOT distribution DESTDIR=3D/tmp/test4 >>>>=20 >>>> /tmp/test4/METALOG was created, but it did not seem to have >>>> /boot/kernel/kernel or >>>> any kernel modules. Is that expected? >>>=20 >>> For a new installation "installworld" should be done first (it creates >>> the needed directory infrastructure). And then one may do >>> "installkernel". >>=20 >> As I read from so much time ago to install first kernel, starting from wh= ich FreeBSD version I should change? >=20 > It seems to be true for ages. Take a look at /usr/src/Makefile, > section "To cross-install current onto a separate partition". If you mkdir DESTDIR first, then run the canonical build steps, that would w= ork as well :). Cheers! -Garrett=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2853B06A-1497-451F-A7EF-D294E6F98093>