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.
This commit is contained in:
parent
c3e60adeb3
commit
20268106fa
|
@ -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" \
|
||||
|
|
Loading…
Reference in New Issue