From owner-cvs-all Fri Mar 15 8:43:46 2002 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 9F5B537B41D; Fri, 15 Mar 2002 08:43:19 -0800 (PST) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.6/8.11.2) id g2FGhBt89236; Fri, 15 Mar 2002 18:43:11 +0200 (EET) (envelope-from ru) Date: Fri, 15 Mar 2002 18:43:10 +0200 From: Ruslan Ermilov To: John Baldwin Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/usr.sbin/sysinstall Makefile Message-ID: <20020315164310.GA88631@sunbay.com> References: <200203151127.g2FBRlM03640@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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. :) > That will also require some tweaks to release/Makefile, but indeed this is a very good idea. Cheers, -- Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message