From owner-freebsd-doc@FreeBSD.ORG Thu Jan 18 18:54:08 2007 Return-Path: X-Original-To: doc@freebsd.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3834316A40F; Thu, 18 Jan 2007 18:54:08 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from caelis.elvandar.org (caelis.elvandar.org [217.148.169.59]) by mx1.freebsd.org (Postfix) with ESMTP id E565C13C461; Thu, 18 Jan 2007 18:54:07 +0000 (UTC) (envelope-from remko@elvandar.org) Received: from localhost (caelis.elvandar.org [217.148.169.59]) by caelis.elvandar.org (Postfix) with ESMTP id 7638792FD22; Thu, 18 Jan 2007 19:54:06 +0100 (CET) Received: from caelis.elvandar.org ([217.148.169.59]) by localhost (caelis.elvandar.org [217.148.169.59]) (amavisd-new, port 10024) with ESMTP id 57473-01; Thu, 18 Jan 2007 19:53:56 +0100 (CET) Received: from [10.0.2.125] (evilcoder.xs4all.nl [195.64.94.120]) (Authenticated sender: remko@evilcoder.org) by caelis.elvandar.org (Postfix) with ESMTP id 209A992FCA2; Thu, 18 Jan 2007 19:53:56 +0100 (CET) Message-ID: <45AFC2A8.4010708@elvandar.org> Date: Thu, 18 Jan 2007 19:55:36 +0100 From: Remko Lodder User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Ken Smith References: <200701171832.28368.dienst@marcrenearns.de> <20070118095724.GS5594@elvandar.org> <474078f80701180950s5e307d27lf91d2d2f2322737b@mail.gmail.com> <45AFBC10.6030700@freebsd.org> <1169146311.91059.38.camel@opus.cse.buffalo.edu> In-Reply-To: <1169146311.91059.38.camel@opus.cse.buffalo.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 at elvandar.org Cc: "Bruce A. Mah" , doc@freebsd.org, Murray Stokely , ru@freebsd.org, re@freebsd.org, Marc Ren? Arns Subject: Re: make buildkernel fails without complete source tree X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jan 2007 18:54:08 -0000 Ken Smith wrote: > On Thu, 2007-01-18 at 10:27 -0800, Bruce A. Mah wrote: >> If memory serves me right, Murray Stokely wrote: >>> On 1/18/07, Remko Lodder wrote: >>>> This is not true. I downloaded the packages which are being used by sysinstall >>>> and extracted them. I found the Makefile, it was properly filled with instructions. >>> It looks to me like src/release/makefile builds the tar file ssys.tar >>> by just tarring /usr/src/sys and therefore would in fact be missing >>> /usr/src/Makefile and /usr/src/Makefile.inc1 necessary for "make >>> buildkernel". >>> >>> Taking a look at the tar file: >>> >>> cat ssys.a?? > ssys.tar && tar tvf ssys.tar >>> >>> I see that only files in /usr/src/sys are included. >>> >>> We could add a tar -r -f .. /usr/src/Makefile /usr/src/Makefile.inc1 >>> to release.7 in /usr/src/release/Makefile to automatically add these >>> two files as a special case to the ssys distribution. CCing re@ for >>> any comments on that proposal. >> I vaguely remember this issue coming up before, and that we didn't make >> any changes to packaging because that in order to use the buildkernel >> target, one "should" have already done a buildworld, which requires the >> complete source tree anyway. >> >> (Maybe I'm mis-remembering...) >> >> Bruce. >> > > I don't recall a discussion about this (it may pre-date my involvement > in RE) but my understanding was the 'make ' in /usr/src was > only supported if you load all of the source tree (which is what Bruce > is saying). Extracting just the sys sources is still useful because you > can do "manual" (old fashioned, which is why I know about it...) kernel > builds on the current system: > > cd /usr/src/sys/i386/conf > config GENERIC > cd ../compile/GENERIC > etc... > > But to do anything beyond that you really need the whole src tree. > Hmm didn't notice that this was a sys/ only download, thought it was an entire download. I downloaded the entire src/ stuff from the ftp servers and with that extracted, i have a nice Makefile with all the required stuff. My apologies for the mislead! -- Kind regards, Remko Lodder ** remko@elvandar.org FreeBSD ** remko@FreeBSD.org /* Quis custodiet ipsos custodes */