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

Bug#782845: debian-installer-netboot-images: FTBFS with a checksum mismatch



Hi Cyril,

Le vendredi, 22 avril 2016, 20.18:23 Cyril Brulebois a écrit :
> > Le samedi, 18 avril 2015, 20.02:15 Cyril Brulebois a écrit :
> > > Not sure what's happening but I can't seem able to build d-i-n-i,
> > > with either httpredir.debian.org, localhost (a local mirror which
> > > is uptodate), ftp.fr.debian.org (its upstream) or ftp.debian.org;
> > > I'm attaching a build log for reference.
> > 
> > So this happens when d-i has not migrated to testing: the
> > get-images.sh script will try to download debian-installer_*.deb
> > from the mirror and compare its sha256sum against the Packages.gz
> > from its DISTRIBUTION.
> > 
> > Arguably, it should check the version first, and fail if theres' a
> > mismatch.
> 
> This seems to be fixed in git master (bfd32f1eb3). Seeing variables
> there, and checking what happened in the previous commit (7842e76a6d),
> I'm not sure I get what's done there. Why do we need to be able to
> override all those variables?

MIRROR is really useful when building this package.
DISTRIBUTION & KFREEBSD_KERNEL_MAJOR are convenient for upload tests, 
but are not really mandatory.

> Another question: any reason why MAJOR_VERSION hasn't been made
> overridable along with the others?

Because the packages as listed in debian/control contain this 
MAJOR_VERSION in the binary package name. Changing the MAJOR_VERSION 
implies regenerating debian/control, and a tour through NEW.

> Also, changelog entries explaining commits would be nice.

Aww, sorry. These are artifacts of my usual gbp-dch workflow. 

-- 
Cheers,
    OdyX


Reply to: