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

Bug#789800: live-build: Extract versions from Release files



Package: live-build
Version: 4.0.4-1
Severity: wishlist
User: devel@kali.org
Usertags: origin-kali

When live-build is used to build a distribution not listed in
/usr/share/live/build/functions/releases.sh then it will fail
with a cryptic error message like this one:
E: Invalid operation APT::FTPArchive::Release::Codename=moto

This is arguably a bug in apt-ftparchive and it's already
reported there: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693092

But live-build could do better than maintaining a list of released
versions of all known distributions. It could for instance rely
on the Version field of the "Release" file of the distribution it
is built against.

$ curl -s http://ftp.debian.org/debian/dists/jessie/Release|grep Version
Version: 8.1

This would totally alleviate the need of this releases.sh file.

Thanks for considering.


Reply to: