Signed-off-by: Anders Kaseorg <andersk@mit.edu>
- AFS_component_version_number.c-Respect-SOURCE_DATE_E.patch:
Respect SOURCE_DATE_EPOCH in cml_version_number to improve build
reproducibility.
+ * openafs-modules-source: Generate /usr/src/openafs.tar.bz2
+ reproducibly.
-- Anders Kaseorg <andersk@mit.edu> Thu, 01 Dec 2016 00:13:01 -0500
find debian/$(srcpkg) -type f -perm -100 | xargs chmod 755
find debian/$(srcpkg) -type f -not -perm -100 | xargs chmod 644
chmod 775 debian/$(srcpkg)/usr/src/modules
- cd debian/$(srcpkg)/usr/src && tar cf $(package).tar modules
+ cd debian/$(srcpkg)/usr/src && find modules -print0 | LC_ALL=C sort -z | tar --no-recursion --null -T - $(if $(SOURCE_DATE_EPOCH),--mtime=@$(SOURCE_DATE_EPOCH)) -cf $(package).tar
bzip2 debian/$(srcpkg)/usr/src/$(package).tar
chmod 644 debian/$(srcpkg)/usr/src/$(package).tar.bz2
install -d debian/$(dkmspkg)/usr/src