mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 20:51:03 +02:00
builddeb: Pass -n to gzip for reproducible packages
We should not be encoding the timestamp, otherwise we end up generating unreproducible files that cascade into unreproducible packages. Signed-off-by: Guillem Jover <guillem@hadrons.org> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
committed by
Masahiro Yamada
parent
08beb669cb
commit
51ccdbfbed
@@ -31,7 +31,7 @@ create_package() {
|
|||||||
mkdir -p "$pdir/usr/share/doc/$pname"
|
mkdir -p "$pdir/usr/share/doc/$pname"
|
||||||
cp debian/copyright "$pdir/usr/share/doc/$pname/"
|
cp debian/copyright "$pdir/usr/share/doc/$pname/"
|
||||||
cp debian/changelog "$pdir/usr/share/doc/$pname/changelog.Debian"
|
cp debian/changelog "$pdir/usr/share/doc/$pname/changelog.Debian"
|
||||||
gzip -9 "$pdir/usr/share/doc/$pname/changelog.Debian"
|
gzip -n -9 "$pdir/usr/share/doc/$pname/changelog.Debian"
|
||||||
sh -c "cd '$pdir'; find . -type f ! -path './DEBIAN/*' -printf '%P\0' \
|
sh -c "cd '$pdir'; find . -type f ! -path './DEBIAN/*' -printf '%P\0' \
|
||||||
| xargs -r0 md5sum > DEBIAN/md5sums"
|
| xargs -r0 md5sum > DEBIAN/md5sums"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user