From patchwork Fri Mar 5 17:19:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: FEJES Jozsef X-Patchwork-Id: 83794 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o25HJcdo016677 for ; Fri, 5 Mar 2010 17:19:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753031Ab0CERTi (ORCPT ); Fri, 5 Mar 2010 12:19:38 -0500 Received: from telcs.lanten.hu ([212.52.167.247]:51402 "EHLO telcs.lanten.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752675Ab0CERTh (ORCPT ); Fri, 5 Mar 2010 12:19:37 -0500 Received: from dsl51b6a168.pool.t-online.hu ([81.182.161.104] helo=[192.168.55.114]) by telcs.lanten.hu with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NnbBV-0003Px-20 for linux-kbuild@vger.kernel.org; Fri, 05 Mar 2010 18:19:34 +0100 Message-ID: <4B913D28.5020109@joco.name> Date: Fri, 05 Mar 2010 18:19:36 +0100 From: FEJES Jozsef User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.8) Gecko/20100216 Thunderbird/3.0.2 MIME-Version: 1.0 To: linux-kbuild@vger.kernel.org Subject: Re: [PATCH] deb-pkg md5sums References: <4B901ECD.5080707@joco.name> <4B910367.5040303@suse.cz> In-Reply-To: <4B910367.5040303@suse.cz> X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - telcs.lanten.hu X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - joco.name Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@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]); Fri, 05 Mar 2010 17:19:38 +0000 (UTC) diff -upr a/scripts/package/builddeb b/scripts/package/builddeb --- a/scripts/package/builddeb 2010-02-09 13:57:19.000000000 +0100 +++ b/scripts/package/builddeb 2010-03-04 20:58:03.353788459 +0100 @@ -18,6 +18,8 @@ create_package() { cp debian/copyright "$pdir/usr/share/doc/$pname/" cp debian/changelog "$pdir/usr/share/doc/$pname/changelog.Debian" gzip -9 "$pdir/usr/share/doc/$pname/changelog.Debian" + sh -c "cd '$pdir'; find . -type f ! -path './DEBIAN/*' -printf '%P\0' \ + | xargs -r0 md5sum > DEBIAN/md5sums" # Fix ownership and permissions chown -R root:root "$pdir"