Commit b59a12258460b3d019918719b1bd2563cf37ad9a
Committed by
Michal Marek
1 parent
e9cfaa9f4c
Exists in
master
and in
4 other branches
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 <fejes@joco.name> Signed-off-by: Michal Marek <mmarek@suse.cz>
Showing 1 changed file with 2 additions and 0 deletions Side-by-side Diff
scripts/package/builddeb
... | ... | @@ -18,6 +18,8 @@ |
18 | 18 | cp debian/copyright "$pdir/usr/share/doc/$pname/" |
19 | 19 | cp debian/changelog "$pdir/usr/share/doc/$pname/changelog.Debian" |
20 | 20 | gzip -9 "$pdir/usr/share/doc/$pname/changelog.Debian" |
21 | + sh -c "cd '$pdir'; find . -type f ! -path './DEBIAN/*' -printf '%P\0' \ | |
22 | + | xargs -r0 md5sum > DEBIAN/md5sums" | |
21 | 23 | |
22 | 24 | # Fix ownership and permissions |
23 | 25 | chown -R root:root "$pdir" |