From patchwork Thu Jun 24 17:19:02 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 107891 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o5OHNwJT014925 for ; Thu, 24 Jun 2010 17:23:58 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754314Ab0FXRX4 (ORCPT ); Thu, 24 Jun 2010 13:23:56 -0400 Received: from mx1.redhat.com ([209.132.183.28]:31082 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750970Ab0FXRXz (ORCPT ); Thu, 24 Jun 2010 13:23:55 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5OHNtwX017730 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 24 Jun 2010 13:23:55 -0400 Received: from redhat.com (vpn2-11-121.ams2.redhat.com [10.36.11.121]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id o5OHNr4G031881; Thu, 24 Jun 2010 13:23:53 -0400 Date: Thu, 24 Jun 2010 20:19:02 +0300 From: "Michael S. Tsirkin" To: avi@redhat.com, kvm@vger.kernel.org, mtosatti@redhat.com, ehabkost@redhat.com Subject: [PATCHv2] make-release: fix mtime on rhel6 beta Message-ID: <20100624171902.GA11367@redhat.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 24 Jun 2010 17:23:58 +0000 (UTC) diff --git a/kvm/scripts/make-release b/kvm/scripts/make-release index e8051f4..64e77f9 100755 --- a/kvm/scripts/make-release +++ b/kvm/scripts/make-release @@ -51,7 +51,7 @@ cd "$(dirname "$0")"/../.. mkdir -p "$(dirname "$tarball")" git archive --prefix="$name/" --format=tar "$commit" > "$tarball" -mtime=`git show --format=%ct "$commit" --` +mtime=`git show --format=%ct "$commit""^{commit}" --` tarargs="--owner=root --group=root --mtime=@$mtime" mkdir -p "$tmpdir"