Apply more timestamp fixes from Jérémy Bobbio in #769844
svn path=/dists/trunk/linux/; revision=22649
This commit is contained in:
parent
35112ab3eb
commit
9a70d28e7d
|
@ -3,8 +3,11 @@ linux (4.1~rc3-1~exp1) UNRELEASED; urgency=medium
|
||||||
* New upstream release candidate
|
* New upstream release candidate
|
||||||
|
|
||||||
[ Ben Hutchings ]
|
[ Ben Hutchings ]
|
||||||
* linux-image: Fix timestamps in the built-in initramfs for reproducible
|
* Fix some embedded timestamps that prevent a reproducible build
|
||||||
build
|
(thanks to Jérémy Bobbio):
|
||||||
|
- linux-image: Fix timestamps in the built-in initramfs
|
||||||
|
- linux-source: Fix timestamps in the tarball
|
||||||
|
- linux-doc: Drop original timestamp (and name) when compressing
|
||||||
|
|
||||||
-- Ben Hutchings <ben@decadent.org.uk> Mon, 11 May 2015 16:19:42 +0100
|
-- Ben Hutchings <ben@decadent.org.uk> Mon, 11 May 2015 16:19:42 +0100
|
||||||
|
|
||||||
|
|
|
@ -87,6 +87,8 @@ $(BUILD_DIR)/linux-source-$(UPSTREAMVERSION).tar.xz: $(STAMPS_DIR)/source
|
||||||
rm -rf '$@' '$(DIR)'
|
rm -rf '$@' '$(DIR)'
|
||||||
$(call copy_source,$(DIR))
|
$(call copy_source,$(DIR))
|
||||||
chmod -R u+rw,go=rX '$(DIR)'
|
chmod -R u+rw,go=rX '$(DIR)'
|
||||||
|
find '$(DIR)' -depth -newermt '$(SOURCE_DATE)' -print0 | \
|
||||||
|
xargs -0r touch --no-dereference --date='$(SOURCE_DATE)'
|
||||||
cd '$(BUILD_DIR)'; tar -caf 'linux-source-$(UPSTREAMVERSION).tar.xz' 'linux-source-$(UPSTREAMVERSION)'
|
cd '$(BUILD_DIR)'; tar -caf 'linux-source-$(UPSTREAMVERSION).tar.xz' 'linux-source-$(UPSTREAMVERSION)'
|
||||||
rm -rf '$(DIR)'
|
rm -rf '$(DIR)'
|
||||||
|
|
||||||
|
@ -202,7 +204,7 @@ install-doc: $(STAMPS_DIR)/build-doc
|
||||||
cd $(DIR)/Documentation/DocBook; \
|
cd $(DIR)/Documentation/DocBook; \
|
||||||
find * -name '*.html' -print | \
|
find * -name '*.html' -print | \
|
||||||
cpio -pd --preserve-modification-time '$(CURDIR)/$(OUT_DIR)/html'
|
cpio -pd --preserve-modification-time '$(CURDIR)/$(OUT_DIR)/html'
|
||||||
gzip -9qfr $(OUT_DIR)/Documentation
|
gzip -9nqfr $(OUT_DIR)/Documentation
|
||||||
+$(MAKE_SELF) install-base
|
+$(MAKE_SELF) install-base
|
||||||
|
|
||||||
install-manual: PACKAGE_NAME = linux-manual-$(VERSION)
|
install-manual: PACKAGE_NAME = linux-manual-$(VERSION)
|
||||||
|
|
Loading…
Reference in New Issue