DEB tqt3: Force file permissions in the tarball for examples.

It addresses independence from UMASK to ensure a reproducible build.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/70/head
Slávek Banko 4 years ago
parent 3c07a8d3a8
commit a29cf13718
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -325,6 +325,7 @@ binary-indep: build install
cd `pwd`/debian/doc/ && \
find tqt3-examples/ -type f -print0 | LC_ALL=C sort -z | \
tar cvv --no-recursion --null -T - \
--mode=u+rw,go=rX,a-s \
--pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime | \
gzip -n > tqt3-examples.tar.gz
install -D `pwd`/debian/doc/tqt3-examples.tar.gz `pwd`/debian/tqt3-examples/usr/share/doc/tqt3-examples/tqt3-examples.tar.gz

@ -331,6 +331,7 @@ binary-indep: build install
cd `pwd`/debian/doc/ && \
find tqt3-examples/ -type f -print0 | LC_ALL=C sort -z | \
tar cvv --no-recursion --null -T - \
--mode=u+rw,go=rX,a-s \
--pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime | \
gzip -n > tqt3-examples.tar.gz
install -D `pwd`/debian/doc/tqt3-examples.tar.gz `pwd`/debian/tqt3-examples/usr/share/doc/tqt3-examples/tqt3-examples.tar.gz

@ -325,6 +325,7 @@ binary-indep: build install
cd `pwd`/debian/doc/ && \
find tqt3-examples/ -type f -print0 | LC_ALL=C sort -z | \
tar cvv --no-recursion --null -T - \
--mode=u+rw,go=rX,a-s \
--pax-option=exthdr.name=%d/PaxHeaders/%f,delete=atime,delete=ctime | \
gzip -n > tqt3-examples.tar.gz
install -D `pwd`/debian/doc/tqt3-examples.tar.gz `pwd`/debian/tqt3-examples/usr/share/doc/tqt3-examples/tqt3-examples.tar.gz

Loading…
Cancel
Save