Add the build date/time into a few more places so people can see them

more easily; add the build time into the .disk/info file.
This commit is contained in:
Steve McIntyre 2006-11-26 22:42:02 +00:00
parent 40c9c0b3d0
commit 6f101339c8
6 changed files with 10 additions and 6 deletions

View File

@ -10,6 +10,8 @@
# file in your shell
BUILD_DATE=$(shell date -u +%Y%m%d-%H:%M)
## DEFAULT VALUES
ifndef VERBOSE_MAKE
Q=@
@ -24,10 +26,10 @@ ifndef CAPCODENAME
CAPCODENAME:=$(shell perl -e "print ucfirst("$(CODENAME)")")
endif
ifndef BINDISKINFO
export BINDISKINFO="Debian GNU/Linux $(DEBVERSION) \"$(CAPCODENAME)\" - $(OFFICIAL) $(ARCH) Binary-$$num ($$DATE)"
export BINDISKINFO="Debian GNU/Linux $(DEBVERSION) \"$(CAPCODENAME)\" - $(OFFICIAL) $(ARCH) Binary-$$num ($$BUILD_DATE)"
endif
ifndef SRCDISKINFO
export SRCDISKINFO="Debian GNU/Linux $(DEBVERSION) \"$(CAPCODENAME)\" - $(OFFICIAL) Source-$$num ($$DATE)"
export SRCDISKINFO="Debian GNU/Linux $(DEBVERSION) \"$(CAPCODENAME)\" - $(OFFICIAL) Source-$$num ($$BUILD_DATE)"
endif
# ND=No-Date versions for README
ifndef BINDISKINFOND
@ -134,7 +136,6 @@ PATH:=$(PATH):/usr/sbin
PrintVars:
@num=1; \
DATE=`date +%Y%m%d` ; \
echo BINDISKINFO: ; \
echo $(BINDISKINFO) ; \
echo SRCDISKINFO: ; \

2
debian/changelog vendored
View File

@ -65,6 +65,8 @@ debian-cd (2.2.26) UNRELEASED; urgency=low
* Split final md5sum of images out from Makefile into tools/imagesums;
if we've made jigdo files then *don't* waste time running md5sum on
the images as well!
* Add the build date/time into a few more places so people can see them
more easily; add the build time into the .disk/info file.
-- Frans Pop <fjp@debian.org> Thu, 23 Nov 2006 01:42:00 +0100

View File

@ -135,6 +135,8 @@ if [ -n "$ISOLINUX_DEFAULT" ]; then
sed -i "s/^DEFAULT .*$/DEFAULT $ISOLINUX_DEFAULT/" boot$N/isolinux/isolinux.cfg
fi
sed -i "s|built on|built on $BUILD_DATE using d-i|" boot$N/isolinux/f1.txt
# Add autorun if we have README.html
if [ -f $CDDIR/README.html ]; then

View File

@ -198,6 +198,8 @@ if [ "$NN" = "1" ]; then
fi
fi
sed -i "s|built on|built on $BUILD_DATE using d-i|" boot$N/isolinux/f1.txt
# Add autorun if we have README.html
if [ -f $CDDIR/README.html ]; then

View File

@ -77,7 +77,6 @@ fi
#
# generate/download images for "powerpc"
# (missing: bootvars1.3b.sit.hqx, BootX_1.2.2.sit, boot-floppy-hfs.img)
BUILD_DATE=$(date +%Y%m%d)
cat $BASEDIR/data/$DI_CODENAME/yaboot/boot.msg \
| sed "s/\${MEDIA_TYPE}/CDROM/" \
| sed "s/\${DEBIAN_VERSION}/${CODENAME}/g" \
@ -111,7 +110,6 @@ if [ -f powerpc/vmlinuz-prep.initrd ]; then
fi
# Copy pegasos forth script, since pegasos machines don't support yaboot yet.
BUILD_DATE=$(date +%Y%m%d)
cat $BASEDIR/data/$DI_CODENAME/pegasos/pegasos \
| sed "s/\${MEDIA_TYPE}/CDROM/" \
| sed "s/\${DEBIAN_VERSION}/${CODENAME}/g" \

View File

@ -46,7 +46,6 @@ silo_deb=$MIRROR/`zcat $MIRROR/dists/$DI_CODENAME/main/binary-sparc/Packages.gz
# Some custom etc files
cp -f -p $BASEDIR/data/etch/sparc/silo.conf $inst/boot/
BUILD_DATE=$(date +%Y%m%d)
cat $BASEDIR/data/etch/sparc/debian.txt \
| sed "s/\${MEDIA_TYPE}/CDROM/" \
| sed "s/\${DEBIAN_VERSION}/${CODENAME}/g" \