From owner-freebsd-current@FreeBSD.ORG Sat Sep 6 05:54:46 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B28F355B for ; Sat, 6 Sep 2014 05:54:46 +0000 (UTC) Received: from mail-pa0-x22e.google.com (mail-pa0-x22e.google.com [IPv6:2607:f8b0:400e:c03::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8431D1861 for ; Sat, 6 Sep 2014 05:54:46 +0000 (UTC) Received: by mail-pa0-f46.google.com with SMTP id eu11so23649844pac.19 for ; Fri, 05 Sep 2014 22:54:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=2y77SGW0ptoZRtEK5xZDgzScGtp39uuJRF4zWSjANAw=; b=JIZo2PZBNeoDcVvMJivfHNiLZrqgYN9Gh1Vt6D6Eq1c2DmMVcOQh1Dq5i9Igqjan2v ulmdiEWJoNB6kIfUzJMdykQCdTY8VHKun47/t9+gpr7zSRjN2txQkXcqbpFkwgC/DdgH mDZoqW5PsPUuC/lPCzX0OMnTMCZM2tewHDKnE8ao7pE0n6/CQIID9C5eippCx0Iz1Heu cSOp1DETC5PnixNUDiFmgbhsJFnyRPCF3KuAxEaVrwpojUUTfQizcLm0I4KfTuTKuquX oR3MCkwoQGtpQvkDEpO66+p6c4MTA8wCl3UlnE8hGTwva+t0DzQ5OOheu3EuQn93p3gU L1fw== X-Received: by 10.70.38.49 with SMTP id d17mr28560672pdk.19.1409982886124; Fri, 05 Sep 2014 22:54:46 -0700 (PDT) Received: from [10.88.239.179] (mobile-166-137-215-074.mycingular.net. [166.137.215.74]) by mx.google.com with ESMTPSA id xu4sm3439497pab.30.2014.09.05.22.54.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Sep 2014 22:54:45 -0700 (PDT) References: <20140825165522.GC91673@spindle.one-eyed-alien.net> <54072D80.4010402@passap.ru> <257cbfbf-959e-44f2-bef0-86c12522de03@email.android.com> <540886EE.3050708@passap.ru> Mime-Version: 1.0 (1.0) In-Reply-To: <540886EE.3050708@passap.ru> Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: quoted-printable Message-Id: <2853B06A-1497-451F-A7EF-D294E6F98093@gmail.com> X-Mailer: iPhone Mail (11D257) From: Garrett Cooper Subject: Re: "make installworld" commands used to generate manifest for makefs? Date: Fri, 5 Sep 2014 22:54:27 -0700 To: Boris Samorodov Cc: "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Sep 2014 05:54:46 -0000 > On Sep 4, 2014, at 8:36, Boris Samorodov 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 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=