[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

debian-installer/build bootscreen-subst,NONE,1.1 Makefile,1.246,1.247 makelabel,1.1,1.2

Update of /cvs/debian-boot/debian-installer/build
In directory gluck:/tmp/cvs-serv26079

Modified Files:
	Makefile makelabel 
Added Files:
Log Message:
    - makelabel takes the build date as its second parameter. Calculating
      BUILD_DATE once at the start to avoid inconsistencies during
      long/midnight builds.
    - Add MEDIA_TYPE to configs for bootable image types.
    - Add DEBIAN_VERSION to config.
    - Add bootscreen-subst to substitute these variables into boot screens.
    - Make a syslinux help screen, for all i386 syslinuxed boot media.
      Includes the build date, debian version, and media type, and is derived
      from isolinux help texts on the sarge cds, but modified to actually
      match d-i:
        - remove boot flavor docs, as we currently have no flavors
        - remove rescue stuff, as d-i is not currently also a rescue disk
        - reduce number of colors used for cleaner look
        - remove mention of non-free
        - try to make the prerequisites documentation somewhere close to
          reality -- 64 mb ram and 256 mb disk.
        - make every boot message screen 22 lines long, followed by a blank
          line (which is in turn followed by the boot: prompt), for consistent
        - remove references in f4.txt to a nonexistant table
        - remove documentation of mono and vga16:off, as they do not work with
        - remove keytimer hack documentation, that was for boot-floppies
        - add documentation of d-i's boot time parameters, including the new
        - remove the mailing list subscription info; boot time is not the
          time to tell the user about this. In its place, make f9.txt be
          about Debian.
      - Remove DEBCONF_DEBUG setting from syslinux.cfg.
      - Use bootscreen-subst on powerpc's boot.msg, too.

Index: Makefile
RCS file: /cvs/debian-boot/debian-installer/build/Makefile,v
retrieving revision 1.246
retrieving revision 1.247
diff -u -d -r1.246 -r1.247
--- Makefile	18 Nov 2003 00:24:00 -0000	1.246
+++ Makefile	8 Dec 2003 21:08:33 -0000	1.247
@@ -394,7 +394,7 @@
 			cp $(EXTRAUDEBDIR)/$$file* ${TEMP}/$*  ; \
 	./pkg-list $* $(KERNEL_FLAVOUR) $(KERNELIMAGEVERSION) > ${TEMP}/$*/udeb_include
-	./makelabel ${DISK_LABEL_$*} > ${TEMP}/$*/disk.lbl
+	./makelabel ${DISK_LABEL_$*} ${BUILD_DATE} > ${TEMP}/$*/disk.lbl
 	touch $@
 $(EXTRA_IMAGES) : $(DEST)/%-image.img :  $(EXTRA_TARGETS)

Index: makelabel
RCS file: /cvs/debian-boot/debian-installer/build/makelabel,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- makelabel	14 Nov 2003 03:07:15 -0000	1.1
+++ makelabel	8 Dec 2003 21:08:33 -0000	1.2
@@ -7,5 +7,5 @@
 echo "System: debian-installer"
-echo "Date: `date +%Y%m%d`"
 echo "Label: $1"
+echo "Date: $2"

--- NEW FILE: bootscreen-subst ---
# Usage: bootscreen-subst "${MEDIA_TYPE}" "${DEBIAN_VERSION}" "${BUILD_DATE}"
#                          < file > outfile
sed -e "s/\${MEDIA_TYPE}/$1/" \
    -e "s/\${DEBIAN_VERSION}/$2/" \
    -e "s/\${BUILD_DATE}/$3/"

Reply to: