diff --git a/debian/changelog b/debian/changelog index 47312377c..7c634a41c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +linux (4.18.8-2) UNRELEASED; urgency=medium + + * debian/rules.real: Generate linux-source tarball with root user and + group specified, to fix reproducibility issues. + + -- Vagrant Cascadian Tue, 18 Sep 2018 10:13:18 -0700 + linux (4.18.8-1) unstable; urgency=medium * New upstream stable update: diff --git a/debian/rules.real b/debian/rules.real index f7b5cbe5d..48e15a9b1 100644 --- a/debian/rules.real +++ b/debian/rules.real @@ -130,7 +130,8 @@ $(BUILD_DIR)/$(SOURCE_BASENAME)-source-$(UPSTREAMVERSION).tar.xz: $(STAMPS_DIR)/ -name '*.pyc' -prune -o \ -print0 | \ sort -z | \ - tar --no-recursion --null -T - -caf '$(SOURCE_BASENAME)-source-$(UPSTREAMVERSION).tar.xz' + tar --owner=root --group=root --numeric-owner \ + --no-recursion --null -T - -caf '$(SOURCE_BASENAME)-source-$(UPSTREAMVERSION).tar.xz' rm -rf '$(DIR)' $(BUILD_DIR)/linux-patch-$(UPSTREAMVERSION)-%.patch.xz: $(STAMPS_DIR)/source_none $(STAMPS_DIR)/source_%