Openwrt/include
Jo-Philipp Wich 5d86dc791e include/download.mk: generate reproducable SCM tarballs
Apply a number of changes to the tarball generation in order to produce
identical files on different systems:

1) Use an explicit `gzip -cn` to avoid storing file mtime in the gzip header
2) Instruct `tar` to unconditionally use uid and gid 0 for archive members
3) Instruct `tar` to sort archive members by file name
4) For SCMs that do not preserve file modification times like Git or Mercurial,
   use the date of the last commit to the repository and pass it as `--mtime`
   value to `tar`

After these changes, locally produced tarballs generated from SCM checkouts
should be identical on any system, simplifying the mirroring of cache archives.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-10-05 00:45:59 +02:00
..
site
autotools.mk
cmake.mk include/cmake.mk: fix host builds 2016-07-29 22:47:46 +02:00
debug.mk
depends.mk
device_table.txt
download.mk include/download.mk: generate reproducable SCM tarballs 2016-10-05 00:45:59 +02:00
feeds.mk build: move merged package directory from bin/ to staging_dir 2016-08-03 12:22:18 +02:00
hardening.mk
host-build.mk build: pass $(STAGING_DIR_HOST) to Host/Install 2016-08-23 11:56:13 +02:00
host.mk
image-commands.mk image: remove padding parameter from append-kernel/append-rootfs 2016-09-13 19:36:41 +02:00
image-legacy.mk image: don't modify file permissions before rootfs generation 2016-09-26 17:57:56 +02:00
image.mk rootfs: remove unnecessary and potentially harmful force flags from opkg call 2016-09-26 17:57:58 +02:00
kernel-build.mk build: fix regression on running make kernel_menuconfig 2016-10-04 17:51:49 +02:00
kernel-defaults.mk kernel: add STAGING_DIR_HOST/lib to host library search path 2016-09-29 13:35:11 +02:00
kernel-version.mk kernel: update to v4.4.23 2016-09-30 20:08:21 +02:00
kernel.mk kernel: make the kernel build auto-clean the build dir like package builds 2016-08-05 14:17:08 +02:00
netfilter.mk netfilter: fix file conflicts between kmod-ipt- and kmod-nft- packages 2016-09-30 23:32:05 +02:00
nls.mk
package-bin.mk
package-defaults.mk cmake: include/cmake.mk add CMAKE_BINARY_SUBDIR to allow out of source tree builds 2016-07-29 20:27:34 +02:00
package-dumpinfo.mk
package-ipkg.mk
package-seccomp.mk
package.mk
prereq-build.mk include: relax umask check 2016-10-04 14:07:37 +02:00
prereq.mk
quilt.mk kernel: make the kernel build auto-clean the build dir like package builds 2016-08-05 14:17:08 +02:00
rootfs.mk rootfs: fail on errors in postinst scripts 2016-09-26 17:57:58 +02:00
scan.awk
scan.mk build: leaving behind incomplete metadata files on cancelled builds 2016-10-04 16:01:41 +02:00
scons.mk
shell.sh
subdir.mk
target.mk ubox: move logd into ubox package 2016-08-23 12:19:23 +02:00
toolchain-build.mk
toplevel.mk
uclibc++.mk
unpack.mk
verbose.mk
version.mk