* Don't hack with the Release file unless EARLY_BUILD_HACK=1.

Closes: #423463
This commit is contained in:
Steve McIntyre 2007-05-12 00:33:34 +00:00
parent 62fdf616e7
commit 2fae5806e9
4 changed files with 11 additions and 1 deletions

View File

@ -308,6 +308,10 @@ case "$OFFICIAL" in
;;
esac
# Set this to force the Release file(s) to say "stable". Used in first
# Etch builds to allow us to build before the archive updated
#EARLY_BUILD_HACK=1
##################################
# LOCAL HOOK DEFINITIONS
##################################

4
debian/CONF.sh vendored
View File

@ -305,6 +305,10 @@ case "$OFFICIAL" in
;;
esac
# Set this to force the Release file(s) to say "stable". Used in first
# Etch builds to allow us to build before the archive updated
#EARLY_BUILD_HACK=1
##################################
# LOCAL HOOK DEFINITIONS
##################################

2
debian/changelog vendored
View File

@ -26,6 +26,8 @@ debian-cd (3.0.3) UNRELEASED; urgency=high
[ Steve McIntyre ]
* Re-added DEBOOTSTRAP_DIR definition in the Makefile
* Don't hack with the Release file unless EARLY_BUILD_HACK=1.
Closes: #423463
-- Frans Pop <fjp@debian.org> Mon, 7 May 2007 01:18:29 +0200

View File

@ -288,7 +288,7 @@ if [ -e "$MIRROR/dists/$CODENAME/Release" ] ; then
if ($f) {
unless (/^ /) { print; $f=0 }
} else { print }' > dists/$CODENAME/Release
if [ "$DEBVERSION" != "testing" ] ; then
if [ "$EARLY_BUILD_HACK"x = "1"x ] ; then
RDATE=`awk '/^Date:/ { print $2,$3,$4,$5}' dists/$CODENAME/Release`
sed -i -e "s/^Suite: .*$/Suite: stable/" dists/$CODENAME/Release
sed -i -e "s/^Description: .*$/Description: Debian $DEBVERSION Released $RDATE/" dists/$CODENAME/Release