[SCM] live-build branch, debian-old-2.0, updated. debian/2.0_a1-1-378-gac454c1
Daniel Baumann
daniel at debian.org
Sun Sep 26 21:19:44 UTC 2010
The following commit has been merged in the debian-old-2.0 branch:
commit ac454c1d713b77d55a080ad8ec10130ac9f48510
Author: Daniel Baumann <daniel at debian.org>
Date: Sun Sep 26 23:19:25 2010 +0200
Avoid using bashism when handling codename/suite mapping for debian-installer release file.
diff --git a/scripts/build/lb_binary_debian-installer b/scripts/build/lb_binary_debian-installer
index d59050b..1911c6e 100755
--- a/scripts/build/lb_binary_debian-installer
+++ b/scripts/build/lb_binary_debian-installer
@@ -598,11 +598,21 @@ then
eval _VERSION="$`echo RELEASE_${LB_DISTRIBUTION}`"
+ case "${LB_DISTRIBUTION}" in
+ sid)
+ _SUITE="unstable"
+ ;;
+
+ *)
+ _SUITE="${LB_DISTRIBUTION}"
+ ;;
+ esac
+
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::Suite="${_SUITE}" \
-o APT::FTPArchive::Release::Version="${_VERSION}" \
-o APT::FTPArchive::Release::Codename="${LB_DISTRIBUTION}" \
-o APT::FTPArchive::Release::Date="$(date -R)" \
--
live-build
More information about the debian-live-changes
mailing list