diff options
author | Daniel Baumann <daniel@debian.org> | 2010-09-26 23:19:10 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:17:24 +0100 |
commit | 6fd9b06fb2920303423999ed1364b56a48a94fce (patch) | |
tree | 845bbe12d47866e3eeb150178376e923c85ea2be /scripts/build/lb_binary_debian-installer | |
parent | f7de27c03be1331a61299f2fe6982ec194268d79 (diff) | |
download | vyos-live-build-6fd9b06fb2920303423999ed1364b56a48a94fce.tar.gz vyos-live-build-6fd9b06fb2920303423999ed1364b56a48a94fce.zip |
Also correcting version number in debian-installer release file.
Diffstat (limited to 'scripts/build/lb_binary_debian-installer')
-rwxr-xr-x | scripts/build/lb_binary_debian-installer | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build/lb_binary_debian-installer b/scripts/build/lb_binary_debian-installer index b097f948a..d59050b78 100755 --- a/scripts/build/lb_binary_debian-installer +++ b/scripts/build/lb_binary_debian-installer @@ -596,12 +596,14 @@ then # Generating release file mv binary chroot/root + eval _VERSION="$`echo RELEASE_${LB_DISTRIBUTION}`" + 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_DISTRIBUTION/sid/unstable}" \ - -o APT::FTPArchive::Release::Version="4.0" \ + -o APT::FTPArchive::Release::Version="${_VERSION}" \ -o APT::FTPArchive::Release::Codename="${LB_DISTRIBUTION}" \ -o APT::FTPArchive::Release::Date="$(date -R)" \ -o APT::FTPArchive::Release::Architectures="${LB_ARCHITECTURE}" \ |