[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: r29764 - in trunk/packages/choose-mirror: . debian



Colin Watson wrote:
> Author: cjwatson
> Date: Sun Aug  7 19:40:44 2005
> New Revision: 29764
> 
> Modified:
>    trunk/packages/choose-mirror/choose-mirror.c
>    trunk/packages/choose-mirror/debian/changelog
>    trunk/packages/choose-mirror/debian/postinst
> Log:
> * Read DISTRIB_RELEASE from /etc/lsb-release if it's present, and use that
>   to override the hardcoded PREFERRED_DISTRIBUTION.

DISTRIB_RELEASE is set to "3.1 (installer build $(BUILD_DATE))" in d-i,
so won't this make choose-mirror try to download a nonexistant Release
file and die?

I don't follow the reasoning that connects DISTRIB_RELEASE with
PREFERRED_DISTRIBUTION either. DISTRIB_RELEASE has a specific format and
contents required by lsb stuff, while PREFERRED_DISTRIBUTION is whatever
debian distribution name we need to set it to today to make d-i work
well.

Now, we could add an internal-use debconf question instead of the
hardcoded PREFERRED_DISTRIBUTION string or something like that..

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: