From owner-freebsd-current@FreeBSD.ORG Thu Aug 28 19:02:09 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2BA1EF38; Thu, 28 Aug 2014 19:02:09 +0000 (UTC) Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::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 7DB7111FB; Thu, 28 Aug 2014 19:02:08 +0000 (UTC) Received: by mail-lb0-f174.google.com with SMTP id p9so1427686lbv.19 for ; Thu, 28 Aug 2014 12:02:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=P1vLKGIsFjVxUkrj7scRvVT2jKTz1XEHSgle4nDUo/M=; b=wkScx49o6+bhnU15Dm0pY4PA7YqC8G8Wz4M6aHH79M4mMokFAvDUB717dEfBl9IF+Q 7bx4apgYKtOP4kaYZi/pDwKtK38Tqjyos5emBVAAVAn80GCJJAU+ZJDDJCzIgIRc8PpG 4FSS1By5oBhCZQRfcvB6frRtFFAW4+Mu2FSypnPtA+ObHD7y5zo/7iM3A7Yoa2vgiV/k /1QTvGO0wbPCAtYFUbMSfiCw0X9CPtn3fit3MKEaHYdNFqdCIyaZP2Uv4cXI7eXz7xeo xPsotdV/CVSzsE2QkrSuVpld4ehA+rvBmZfy79vyJ6mTrUkB/3DxHAsComTTLnpThApH mrUQ== MIME-Version: 1.0 X-Received: by 10.152.20.41 with SMTP id k9mr6357485lae.57.1409252526363; Thu, 28 Aug 2014 12:02:06 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.197.107 with HTTP; Thu, 28 Aug 2014 12:02:06 -0700 (PDT) In-Reply-To: <20140825165522.GC91673@spindle.one-eyed-alien.net> References: <20140825165522.GC91673@spindle.one-eyed-alien.net> Date: Thu, 28 Aug 2014 12:02:06 -0700 X-Google-Sender-Auth: Bl-BFs3ZJIGt6r_cME0vB7mt8vQ Message-ID: Subject: Re: "make installworld" commands used to generate manifest for makefs? From: Craig Rodrigues To: Brooks Davis Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current Current 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: Thu, 28 Aug 2014 19:02:09 -0000 On Mon, Aug 25, 2014 at 9:55 AM, Brooks Davis 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= installworld > > should result in a /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