From: FEJES Jozsef <fejes@joco.name>
To: linux-kbuild@vger.kernel.org
Subject: [PATCH] deb-pkg md5sums
Date: Thu, 04 Mar 2010 21:57:49 +0100 [thread overview]
Message-ID: <4B901ECD.5080707@joco.name> (raw)
[-- Attachment #1: Type: text/plain, Size: 337 bytes --]
Hi,
I would like an md5sums file in the packages built by the deb-pkg
script. It's a quite standard and useful thing to do.
Please consider my patch (or something similar) for inclusion.
My patch does the same thing as dh_md5sums, without any fancy options
which are unnecessary in this case.
--
[ FEJES Jozsef ]
http://joco.name
[-- Attachment #2: debpkgmd5.patch --]
[-- Type: text/plain, Size: 565 bytes --]
diff -ur 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,7 @@
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"
next reply other threads:[~2010-03-05 0:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-04 20:57 FEJES Jozsef [this message]
2010-03-05 13:13 ` [PATCH] deb-pkg md5sums Michal Marek
2010-03-05 17:19 ` FEJES Jozsef
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B901ECD.5080707@joco.name \
--to=fejes@joco.name \
--cc=linux-kbuild@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.