summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-26 22:36:55 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:20:32 +0100
commit2dbf0565e4734dd8a0d41a2ec1ae2e6d8f954ed3 (patch)
tree1373293b6bb3cf9575dce4ce1fd281216ed90f16
parenta2161b18e4b4b42fbced568e61de63df695e5427 (diff)
downloadvyos-live-build-2dbf0565e4734dd8a0d41a2ec1ae2e6d8f954ed3.tar.gz
vyos-live-build-2dbf0565e4734dd8a0d41a2ec1ae2e6d8f954ed3.zip
Also correcting version number in debian-installer release file.
-rwxr-xr-xscripts/build/lb_binary_debian-installer4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/build/lb_binary_debian-installer b/scripts/build/lb_binary_debian-installer
index 8d7bab186..5dfa52519 100755
--- a/scripts/build/lb_binary_debian-installer
+++ b/scripts/build/lb_binary_debian-installer
@@ -587,12 +587,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}" \