--- a/debian/patches/reproducible-build.patch 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/reproducible-build.patch 2019-12-07 09:32:20.715245048 +0000 @@ -0,0 +1,15 @@ +Description: Make the build reproducible +Author: Chris Lamb +Last-Update: 2019-12-07 + +--- usb-modeswitch-data-20170806.orig/Makefile ++++ usb-modeswitch-data-20170806/Makefile +@@ -31,7 +31,7 @@ db-install: files-install + db-install-packed: + @# Create a compressed tar without gzip timestamp, so tar.gz + @# differs only if content is different +- cd ./usb_modeswitch.d; find * -print0 | LC_ALL=C sort -z | tar --no-recursion --null --files-from=- --mode=go=rX,u+rw,a-s -cf ../configPack.tar ++ cd ./usb_modeswitch.d; find * -print0 | LC_ALL=C sort -z | tar --no-recursion --null --files-from=- --mode=go=rX,u+rw,a-s --owner=0 --group=0 --numeric-owner -cf ../configPack.tar + gzip -f9n ./configPack.tar + install --mode=644 -t $(PREFIX)/share/usb_modeswitch ./configPack.tar.gz + rm -f ./configPack.tar.gz --- a/debian/patches/series 1970-01-01 01:00:00.000000000 +0100 --- b/debian/patches/series 2019-12-07 09:32:19.587263901 +0000 @@ -0,0 +1 @@ +reproducible-build.patch