Date: Tue, 18 Sep 2001 08:00:37 -0700 (PDT) From: NIIMI Satoshi <sa2c@and.or.jp> To: freebsd-gnats-submit@FreeBSD.org Subject: misc/30647: "make release" in src/release/ creates ports.tgz that includes distfiles Message-ID: <200109181500.f8IF0bt70787@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 30647 >Category: misc >Synopsis: "make release" in src/release/ creates ports.tgz that includes distfiles >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 18 08:10:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: NIIMI Satoshi >Release: 4.4-RELEASE >Organization: >Environment: FreeBSD berkeley.sa2c.net 4.4-RELEASE FreeBSD 4.4-RELEASE #1: Sun Sep 16 13:03:19 JST 2001 sa2c@berkeley.sa2c.net:/usr/obj/usr/src/sys/BERKELEY i386 >Description: "make release" in src/relase with very large /usr/ports/distfiles, cdrom.1 target in src/relase/Makefile failes to remove distfile. This causes very large (for me, over 5GB) ${CHROOT}/R/cdrom/disc1/ports/ports.tgz. >How-To-Repeat: cd /usr/ports; make -k BATCH=yes fetch cd /usr/src/release; make release RELEASETAG=RELENG_4_4_0_RELEASE blah blah... >Fix: Index: Makefile =================================================================== RCS file: /home/ncvs/src/release/Makefile,v retrieving revision 1.536.2.56 diff -u -r1.536.2.56 Makefile --- Makefile 2001/09/13 06:58:31 1.536.2.56 +++ Makefile 2001/09/18 14:57:39 @@ -756,6 +756,7 @@ @cp ${CD_DISC1}/floppies/boot.flp ${CD_DISC2}/floppies .endif .if !defined(NOPORTS) + @find /usr/ports/distfiles -type f -print0 | xargs -0 rm -rf -- @-rm -rf /usr/ports/distfiles/* @mkdir -p ${CD_DISC1}/ports && \ tar --exclude CVS -czf ${CD_DISC1}/ports/ports.tgz -C /usr ports && \ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200109181500.f8IF0bt70787>