From: FEJES Jozsef Date: Fri, 5 Mar 2010 17:19:36 +0000 (+0100) Subject: kbuild: deb-pkg md5sums X-Git-Tag: v2.6.36-rc1~29^2~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b59a12258460b3d019918719b1bd2563cf37ad9a;p=platform%2Fkernel%2Flinux-3.10.git kbuild: deb-pkg md5sums This patch creates the standard md5sums file for 'make deb-pkg' just like the dh_md5sums debhelper script. Signed-off-by: Jozsef Fejes Signed-off-by: Michal Marek --- diff --git a/scripts/package/builddeb b/scripts/package/builddeb index 8b357b0..07f2fbd 100644 --- a/scripts/package/builddeb +++ b/scripts/package/builddeb @@ -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"