Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2002 10:34:26 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Ruslan Ermilov <ru@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/usr.sbin/sysinstall Makefile
Message-ID:  <XFMail.20020315103426.jhb@FreeBSD.org>
In-Reply-To: <200203151127.g2FBRlM03640@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

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. :)

-- 

John Baldwin <jhb@FreeBSD.org>  <><  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 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?XFMail.20020315103426.jhb>