From patchwork Thu Jun 24 15:48:52 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: 107884 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 o5OFrmC2025318 for ; Thu, 24 Jun 2010 15:53:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755953Ab0FXPxq (ORCPT ); Thu, 24 Jun 2010 11:53:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:49322 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754671Ab0FXPxp (ORCPT ); Thu, 24 Jun 2010 11:53:45 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5OFrjes016525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 24 Jun 2010 11:53:45 -0400 Received: from redhat.com (vpn2-11-121.ams2.redhat.com [10.36.11.121]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with SMTP id o5OFrhTm022628; Thu, 24 Jun 2010 11:53:43 -0400 Date: Thu, 24 Jun 2010 18:48:52 +0300 From: "Michael S. Tsirkin" To: kvm@vger.kernel.org, mtosatti@redhat.com, avi@redhat.com, ehabkost@redhat.com Subject: [PATCH] make-release: fix mtime on rhel6 beta Message-ID: <20100624154852.GA11139@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.12 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 15:53:49 +0000 (UTC) diff --git a/kvm/scripts/make-release b/kvm/scripts/make-release index e8051f4..cd28275 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"~0 --` tarargs="--owner=root --group=root --mtime=@$mtime" mkdir -p "$tmpdir"