From owner-freebsd-current Wed Mar 27 13:52:21 2002 Delivered-To: freebsd-current@freebsd.org Received: from mail14.speakeasy.net (mail14.speakeasy.net [216.254.0.214]) by hub.freebsd.org (Postfix) with ESMTP id 600BF37B41D for ; Wed, 27 Mar 2002 13:51:50 -0800 (PST) Received: (qmail 16844 invoked from network); 27 Mar 2002 21:51:49 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail14.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 27 Mar 2002 21:51:49 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g2RLqUv92806; Wed, 27 Mar 2002 16:52:30 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20020327201914.GA52094@sunbay.com> Date: Wed, 27 Mar 2002 16:51:51 -0500 (EST) From: John Baldwin To: Ruslan Ermilov Subject: Re: cvs commit: src/usr.sbin/sysinstall Makefile Cc: current@FreeBSD.org, Takahashi Yoshihiro , Makoto Matsushita Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 27-Mar-2002 Ruslan Ermilov wrote: > On Fri, Mar 15, 2002 at 10:34:26AM -0500, John Baldwin wrote: >> >> On 15-Mar-2002 Ruslan Ermilov wrote: >> > ru 2002/03/15 03:27:47 PST >> > >> > Modified files: >> > usr.sbin/sysinstall Makefile >> > Log: >> > Embed boot images built as part of buildworld rather than the >> > installed ones under /boot (which we may not even have in the >> > case of a cross build). >> >> Cool. >> >> > This introduced chicken and egg problem - we need boot images >> > early in the "depend" stage but they have not yet been built. >> > Work around this by excluding the generated makeboot.c source >> > from the "depend" list; it's okay because we hardcode all its >> > dependencies explicitly. We actually lose the dependency bit >> > on but it's probably okay too as the only thing >> > we use is the u_char datatype and this is unlikely to change. >> > After all, it's normal for sloppy cleaning to cause problems. >> > >> > beast.FreeBSD.org running 5.0-CURRENT alpha has been able to >> > cross build i386 world with this patch. >> > >> > Prodded by: gallatin >> >> Thanks for fixing this. Long term, I would like someone to fix >> sysinstall so it reads these files out of /boot like we do for >> boot{1,2} instead of hardcoding them into the binary. Junior >> Sysinstall Hacker task I suppose. :) >> > Here's the patch. Please review. Looks good to me assuming you've tested it. :) -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message