Use gzip -n

to prevent it from adding timestamps to .gz headers
to make package builds reproducible

See https://reproducible-builds.org/ for why this is good.
This commit is contained in:
Bernhard M. Wiedemann 2018-01-05 08:19:23 +01:00 committed by Richard Hughes
parent 110accb395
commit 1fa6407c85

View File

@ -8,5 +8,5 @@
install -m 0755 -d ${MESON_INSTALL_DESTDIR_PREFIX}/share/locale/
${MESON_SOURCE_ROOT}/po/make-images "Installing firmware update…" ${MESON_INSTALL_DESTDIR_PREFIX}/share/locale/ ${MESON_SOURCE_ROOT}/po/LINGUAS
for x in ${MESON_INSTALL_DESTDIR_PREFIX}/share/locale/*/LC_IMAGES/*.bmp ; do
gzip -f ${x}
gzip -fn9 ${x}
done