From owner-freebsd-stable@FreeBSD.ORG Sun Oct 18 23:16:58 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18AEC1065670 for ; Sun, 18 Oct 2009 23:16:58 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-pz0-f202.google.com (mail-pz0-f202.google.com [209.85.222.202]) by mx1.freebsd.org (Postfix) with ESMTP id DDCD58FC12 for ; Sun, 18 Oct 2009 23:16:57 +0000 (UTC) Received: by pzk40 with SMTP id 40so2880975pzk.7 for ; Sun, 18 Oct 2009 16:16:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:subject :message-id:user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint :mime-version:content-type; bh=9OX4Bidx38lrkkfmA4tLTVZomtnHlWHnEkBnDfOrEC8=; b=tvBy4peonrTLbN4EesVwHwrtpE+X5qW8pawvaz1uXc5EZfheJY33jn34QFAffUUCAk NcJP9VBBc9HwbTMS474JQHEUlNHewChMCo2FahM/KLuA1duINw3y02igoy6wOtcNRMf5 cYP9jmYlcOvSbsubxxrnj4AgSDCkz1IHxHfSE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:subject:message-id:user-agent:x-openpgp-key-id :x-openpgp-key-fingerprint:mime-version:content-type; b=AZ8jZ0zJniyEOLCHJgt7fh5ONyr7Du4EwxmYYCD8R59GwpTw9klWWW0gWXBrZn+EI2 sc+YWHgCbkkeNPtcmfnFE7omQo4gSA/6RvoLPdX5XNUixnR2bhJU245iFz6KS04HnZnJ DIaNw9z6O5ingbjh4Nv+g1T2uJp0BBu1GWP2g= Received: by 10.114.51.12 with SMTP id y12mr4686971way.33.1255907817295; Sun, 18 Oct 2009 16:16:57 -0700 (PDT) Received: from dimension.5p.local (adsl-99-181-128-216.dsl.klmzmi.sbcglobal.net [99.181.128.216]) by mx.google.com with ESMTPS id 22sm2253720pxi.6.2009.10.18.16.16.54 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 18 Oct 2009 16:16:56 -0700 (PDT) Sender: "J. Hellenthal" Date: Sun, 18 Oct 2009 19:16:41 -0400 From: jhell To: FreeBSD Stable Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: Make release process for 7.2-STABLE @ r198084 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Oct 2009 23:16:58 -0000 I have just been setting up a release cycle for making some iso's of my own for a modified revision of the source that I am going to be using for offline use and run into a repetitive copy that I am hoping someone could shed some light on. Output from a make release run. "Portion in question" ----------------------------------------------------------------- [...] cd /usr/obj/RELENG/usr && cp -R -H /usr/src src rm -rf /usr/obj/RELENG/usr/ports cd /usr/obj/RELENG/usr && cp -R -H /usr/ports ports # If there are distfiles downloaded removing them rm -rf ports/distfiles/* rm -rf /usr/obj/RELENG/usr/doc cd /usr/obj/RELENG/usr && cp -R -H /usr/doc doc if [ -d /usr/src/release/../../ports/distfiles/ ]; then cp -rp /usr/src/release/../../ports/distfiles /usr/obj/RELENG/usr/ports/distfiles; else mkdir -p /usr/obj/RELENG/usr/ports/distfiles; fi ---------------------------------------------------------------- >From the above output and what happened my ports tree was copied over along with the distfiles the first time cp was issued on the ports directory. Then shortly after that it removes the copied distfiles and issues the next command to copy the docs over. After it does a test for ../../ports/distfiles from the release directory which happens to be the same directory it previously copied over and then removed and is now issuing a command to copy over again?. Is there a problem with the layout of directories from which I started this process maybe? Fault in the script for make release possibly ? Did I miss some tunable for the make release ? >From this setup for a make release everything is a default type of structure/setup/layout for ports and source and doc from a install. If I have to do this again I don't want to copy over 4+ GiB of distfiles twice. Thanks. -- ;; dataix.net!jhell 2048R/89D8547E 2009-09-30 ;; BSD since FreeBSD 4.2 Linux since Slackware 2.1 ;; 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E