Source-Changes-HG archive

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

[src/trunk]: src/distrib Introduce CDRELEASE_NODEBUG - if set, avoids putting...



details:   https://anonhg.NetBSD.org/src/rev/bdc99063019b
branches:  trunk
changeset: 356188:bdc99063019b
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Sep 08 09:50:44 2017 +0000

description:
Introduce CDRELEASE_NODEBUG - if set, avoids putting debug sets in the
ISO image.

Set this for sparc64 install CDs - many of the supported machines have
SCSI CD drives and it is impossible to get DVD replacements for those.

This is a pitty, but in the end a working install medium is more worth
than debug sets (which can be downloaded later).

diffstat:

 distrib/common/Makefile.bootcd            |  6 +++++-
 distrib/sparc64/cdroms/installcd/Makefile |  3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r defb6fe92900 -r bdc99063019b distrib/common/Makefile.bootcd
--- a/distrib/common/Makefile.bootcd    Fri Sep 08 08:16:09 2017 +0000
+++ b/distrib/common/Makefile.bootcd    Fri Sep 08 09:50:44 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.bootcd,v 1.38 2017/02/16 02:37:32 christos Exp $
+#      $NetBSD: Makefile.bootcd,v 1.39 2017/09/08 09:50:44 martin Exp $
 #
 # Makefile snipped to create a CD/DVD ISO
 #
@@ -14,6 +14,7 @@
 # Optional variables:
 #      CDRELEASE       Set to 'true' to include $RELEASEDIR/$MACHINE on the CD
 #      CDRELEASE_NOISOS Excludes installation/cdrom directory if set
+#      CDRELEASE_NODEBUG       Excludes debug sets if set
 #      CDSOURCE        Set to 'true' to include $RELEASEDIR/source on the CD
 #      CDEXTRA         Set to a list of files or directories containing extra
 #                      stuff to put on CD (set by build.sh -C flag)
@@ -51,6 +52,9 @@
 .if defined(CDRELEASE_NOISOS)
 CDRELEASE_EXCLUDE=     -s ',./installation/cdrom.*,,gp'
 .endif
+.if defined(CDRELEASE_NODEBUG)
+CDRELEASE_EXCLUDE=+    -s ',./binary/sets/debug.tgz,,gp'       -s ',./binary/sets/xdebug.tgz,,gp'
+.endif
 .if !defined(CDRELEASE_LIVEIMAGE)
 CDRELEASE_EXCLUDE+=    -s ',./installation/liveimage.*,,gp'
 .endif
diff -r defb6fe92900 -r bdc99063019b distrib/sparc64/cdroms/installcd/Makefile
--- a/distrib/sparc64/cdroms/installcd/Makefile Fri Sep 08 08:16:09 2017 +0000
+++ b/distrib/sparc64/cdroms/installcd/Makefile Fri Sep 08 09:50:44 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.28 2017/02/10 16:43:59 christos Exp $
+#      $NetBSD: Makefile,v 1.29 2017/09/08 09:50:45 martin Exp $
 
 .include <bsd.own.mk>
 
@@ -13,6 +13,7 @@
 SYSINSTDIR!= cd ${.CURDIR}/../../../../usr.sbin/sysinst/arch/${MACHINE} && ${PRINTOBJDIR}
 
 CDRELEASE_NOISOS=      true
+CDRELEASE_NODEBUG=     true
 CDBOOTIMAGEDIR!= cd ${NETBSDSRCDIR}/distrib/sparc64/bootfs && ${PRINTOBJDIR}
 CDBOOTIMAGE=    ${CDBOOTIMAGEDIR}/boot.fs
 SUN_BOOT_ARGS:=  - - - - ${CDBOOTIMAGE}



Home | Main Index | Thread Index | Old Index