Source-Changes-HG archive

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

[src/trunk]: src/etc Set the volume ID on CDs produced my "make iso-image" to...



details:   https://anonhg.NetBSD.org/src/rev/2b1270a5d800
branches:  trunk
changeset: 534483:2b1270a5d800
user:      bjh21 <bjh21%NetBSD.org@localhost>
date:      Sun Jul 28 01:21:07 2002 +0000

description:
Set the volume ID on CDs produced my "make iso-image" to something meaningful,
rather than the default of "CDROM".  The volume ID now looks like
"NETBSD_ACORN26_16D".

diffstat:

 etc/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 11aafcf982f3 -r 2b1270a5d800 etc/Makefile
--- a/etc/Makefile      Sun Jul 28 00:45:11 2002 +0000
+++ b/etc/Makefile      Sun Jul 28 01:21:07 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.223 2002/07/06 18:19:31 fredette Exp $
+#      $NetBSD: Makefile,v 1.224 2002/07/28 01:21:07 bjh21 Exp $
 #      from: @(#)Makefile      8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -52,8 +52,12 @@
 # Flags for creating ISO CDROM image
 # mkisofs is expected to be in $PATH, install via pkgsrc/sysutils/cdrecord
 MKISOFS?=      mkisofs
+DISTRIBREV!=   sh ${NETBSDSRCDIR}/sys/conf/osrelease.sh -s
+# ISO 9660 volume ID.  Note that this can only contain [A-Z0-9_].
+ISO_VOLID!=    echo NETBSD_${MACHINE}_${DISTRIBREV} | tr a-z A-Z
 MKISOFS_FLAGS+= -J -l \
                -r -T -v \
+               -V ${ISO_VOLID} \
                -P "The NetBSD Project" \
                -m "${RELEASEDIR}/installation/cdrom"
 



Home | Main Index | Thread Index | Old Index