Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2002 18:43:10 +0200
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/sysinstall Makefile
Message-ID:  <20020315164310.GA88631@sunbay.com>
In-Reply-To: <XFMail.20020315103426.jhb@FreeBSD.org>
References:  <200203151127.g2FBRlM03640@freefall.freebsd.org> <XFMail.20020315103426.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <sys/types.h> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020315164310.GA88631>