From a2161b18e4b4b42fbced568e61de63df695e5427 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Sun, 26 Sep 2010 20:19:38 +0000 Subject: Fixing debian-installer Release file generation. To behave properly installer properly handles codename/suite combination. Specially for sid/unstable this is really required otherwise we can end up trying to configure a broken sources.list. --- scripts/build/lb_binary_debian-installer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/build') diff --git a/scripts/build/lb_binary_debian-installer b/scripts/build/lb_binary_debian-installer index 27fb29deb..8d7bab186 100755 --- a/scripts/build/lb_binary_debian-installer +++ b/scripts/build/lb_binary_debian-installer @@ -591,9 +591,9 @@ cat > chroot/binary.sh << EOF cd /root/binary && apt-ftparchive \ -o APT::FTPArchive::Release::Origin="Debian" \ -o APT::FTPArchive::Release::Label="Debian" \ - -o APT::FTPArchive::Release::Suite="${LB_DEBIAN_INSTALLER_DISTRIBUTION}" \ + -o APT::FTPArchive::Release::Suite="${LB_DISTRIBUTION/sid/unstable}" \ -o APT::FTPArchive::Release::Version="4.0" \ - -o APT::FTPArchive::Release::Codename="${LB_DEBIAN_INSTALLER_DISTRIBUTION}" \ + -o APT::FTPArchive::Release::Codename="${LB_DISTRIBUTION}" \ -o APT::FTPArchive::Release::Date="$(date -R)" \ -o APT::FTPArchive::Release::Architectures="${LB_ARCHITECTURE}" \ -o APT::FTPArchive::Release::Components="main" \ -- cgit v1.2.3