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 toolchain: add support of ARC architecture 2015-11-10 12:03:59 +00:00
autotools.mk include/autotools.mk: fix gettext installation path 2016-01-20 23:21:09 +00:00
cmake.mk include/cmake.mk: fix host builds 2016-07-29 22:47:46 +02:00
debug.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
depends.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
device_table.txt image: ensure that /dev/console exist in rootfs images 2013-08-27 12:02:58 +00:00
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 hardening: make override variables more intuitive 2015-06-24 10:57:14 +00:00
host-build.mk build: pass $(STAGING_DIR_HOST) to Host/Install 2016-08-23 11:56:13 +02:00
host.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
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 nls.mk: add -rpath-link when needed for NLS support 2015-09-07 08:03:34 +00:00
package-bin.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
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 include: fix nonshared flag handling 2016-04-15 10:26:36 +02:00
package-ipkg.mk package-ipkg: do not include feeds.mk at metadata dump time to speed up scanning 2016-06-16 11:56:24 +02:00
package-seccomp.mk include: add a seccomp filter install wrapper 2015-03-26 10:57:56 +00:00
package.mk build: don't add -j for parallel builds with Make 4.2+ 2016-06-15 19:26:17 +02:00
prereq-build.mk include: relax umask check 2016-10-04 14:07:37 +02:00
prereq.mk build: do not overwrite already existing host commands 2015-09-16 12:38:16 +00:00
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 build: propagate override information to .packageinfo 2015-02-09 12:09:31 +00:00
scan.mk build: leaving behind incomplete metadata files on cancelled builds 2016-10-04 16:01:41 +02:00
scons.mk fix up scons vs ccache 2012-07-28 21:06:59 +00:00
shell.sh include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
subdir.mk build: add logging for package host builds 2016-01-20 21:31:56 +00:00
target.mk ubox: move logd into ubox package 2016-08-23 12:19:23 +02:00
toolchain-build.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
toplevel.mk include/toplevel.mk: fix defconfig when ~/.openwrt/defconfig exists - take 2 2016-07-06 10:40:12 +02:00
uclibc++.mk toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ support mandatory - fixes recursive config symbol dependency issues 2013-05-09 20:50:49 +00:00
unpack.mk include: remove trailing whitespaces 2015-03-29 07:29:18 +00:00
verbose.mk build: tell users to do non-paralle builds on errors 2015-04-16 12:18:26 +00:00
version.mk base-files: Add standard os-release file 2016-06-24 13:52:53 +02:00