From 66b79064d1ade3d7d3234a17a40164c5f520c708 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sat, 8 Jul 2006 18:12:05 +0000 Subject: [PATCH] Use bzip instead of gzip, rename the tar file to make it more obvious that only kernel sources are included, and allow WITHOUT_SRCS to be defined to prevent inclusion of the kernel sources in the ISO. Suggested-by: "Simon 'corecode' Schubert" --- nrelease/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/nrelease/Makefile b/nrelease/Makefile index 4a2dfeca87..ff7d9450fe 100644 --- a/nrelease/Makefile +++ b/nrelease/Makefile @@ -1,4 +1,4 @@ -# $DragonFly: src/nrelease/Makefile,v 1.55 2006/07/08 03:19:30 dillon Exp $ +# $DragonFly: src/nrelease/Makefile,v 1.56 2006/07/08 18:12:05 dillon Exp $ # # compat target @@ -139,7 +139,9 @@ buildiso: # Include kernel sources on the release CD (~14MB) # syssrcs: - ( cd ${.CURDIR}/../..; tar czf ${ISOROOT}/usr/src.tgz src/Makefile src/Makefile.inc1 src/sys ) +.if !defined(WITHOUT_SRCS) + ( cd ${.CURDIR}/../..; tar --exclude CVS -cf - src/Makefile src/Makefile.inc1 src/sys | bzip2 -9 > ${ISOROOT}/usr/src-sys.tar.bz2 ) +.endif customizeiso: (cd ${PKGSRC_PKG_PATH}; tar xzpf ${PKGSRC_BOOTSTRAP_KIT}.tgz) -- 2.41.0