Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Aug 2005 12:22:30 +0200
From:      Alexander Leidinger <netchild@FreeBSD.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org, ru@FreeBSD.org, des@des.no, grehan@FreeBSD.org
Subject:   Re: cvs commit: src Makefile.inc1 ObsoleteFiles.inc src/share/man/man7 build.7
Message-ID:  <20050803122230.e1lyy9wc0sckgs0g@netchild.homeip.net>
In-Reply-To: <20050802.090206.55731220.imp@bsdimp.com>
References:  <20050731102343.35bc4aa9@Magellan.Leidinger.net> <20050802090717.GK14023@ip.net.ua> <20050802140536.zstn68rcgsg84g0w@netchild.homeip.net> <20050802.090206.55731220.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"M. Warner Losh" <imp@bsdimp.com> wrote:

> In message: <20050802140536.zstn68rcgsg84g0w@netchild.homeip.net>
>            Alexander Leidinger <netchild@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





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