Skip to content

Commit

Permalink
kbuild: deb-pkg md5sums
Browse files Browse the repository at this point in the history
This patch creates the standard md5sums file for 'make deb-pkg' just
like the dh_md5sums debhelper script.

Signed-off-by: Jozsef Fejes <fejes@joco.name>
Signed-off-by: Michal Marek <mmarek@suse.cz>
  • Loading branch information
fejesjoco authored and michal42 committed Mar 7, 2010
1 parent e9cfaa9 commit b59a122
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/package/builddeb
Expand Up @@ -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"
Expand Down

0 comments on commit b59a122

Please sign in to comment.