cvs commit: src Makefile.inc1 ObsoleteFiles.inc src/share/man/man7 build.7

Alexander Leidinger netchild at FreeBSD.org
Wed Aug 3 10:24:06 GMT 2005


"M. Warner Losh" <imp at bsdimp.com> wrote:

> In message: <20050802140536.zstn68rcgsg84g0w at netchild.homeip.net>
>            Alexander Leidinger <netchild at FreeBSD.org> writes:
> : When an user calls delete-old with DESTDIR set to the root of a non-native
> : machine architecture he may remove non-obsolete files when he 
> forgets to set
> : TARGET_ARCH. I want to prevent this situation. I think "failsafe" is more
> : important than "POLA" in this case.
>
> If you are cross compling, then you must set TARGET_ARCH.  This is
> true for buildworld and installworld.  We don't have seat-belts
> there.  Why would we need one here?

Because someone may think that all obsolete files are the same on all
architectures. But this isn't the case. It's obvious (to me) that you have
to specify an target arch on installworld, but it wasn't obvious (to me)
that we need one to delete obsolete files initially. So when there are
developers which think it might work without a target arch, there will be
users which just don't think about it. Those users will be busted then. From
my experience (providing emergency help to companies which administrate their
important FreeBSD on their own) I think we really should keep those
seat-belts.

Bye,
Alexander.

-- 
http://www.Leidinger.net/     Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org/        netchild @ FreeBSD.org  : PGP ID = 72077137
The honeymoon is not actually over until we cease
to stifle our sighs and begin to stifle our yawns.
		-- Helen Rowland




More information about the cvs-src mailing list