openwrt-pf/include
Paul Spooren b0b4bf6ea0
build: don't store timestamps in APK packages
This commit statically sets SOURCE_DATE_EPOCH to 0, which causes `apk mkpkg` to
drop the date from generated packages. This improves reproducibility while
leaving package specific SOURCE_DATE_EPOCH untouched. The latter can be
interesting for i.e. packages like busybox, which prominently show that date on
the login shell.

Without this commit, packages that live inside feed repositories (openwrt.git,
packages.git etc) like `mtd` or `attendedsysupgrade-common` would have random
timestamps since no "full" git log was available.

Below an example with different source dates (0, 1):

│  0755  root:wheel    -                           -  /
│  0755  root:wheel    -                           -  lib/
│  0755  root:wheel    -                           -  lib/apk/
│  0755  root:wheel    -                           -  lib/apk/packages/
│ -0644  root:wheel    1970-01-01T00:00:01Z       10  lib/apk/packages/mtd.list
│ +0644  root:wheel    -                          10  lib/apk/packages/mtd.list
│  0755  root:wheel    -                           -  sbin/
│ -0755  root:wheel    1970-01-01T00:00:01Z    24595  sbin/mtd
│ +0755  root:wheel    -                       24595  sbin/mtd

Link: https://github.com/openwrt/openwrt/pull/24005
Signed-off-by: Paul Spooren <mail@aparcar.org>
2026-06-30 18:53:03 +02:00
..
site build: remove ac_cv_header_netinet_sctp_h=no from pre-cached variables 2024-09-22 16:04:09 +02:00
autotools.mk include: autotools: do not symlink files in autoreconf 2024-08-29 20:04:02 +02:00
bpf.mk build: bpf: fix LLVM tool paths with host toolchain 2025-04-09 09:52:21 +02:00
cmake.mk build: pass CPPFLAGS to cmake build 2026-02-17 01:29:57 +01:00
debug.mk
default-packages.mk imagebuilder: move handling of DEFAULT_PACKAGES into shareable place 2024-11-17 19:29:06 +01:00
depends.mk
device_table.txt
download.mk build: fix recipe line break in wrap_mirror fallback path 2026-06-04 21:12:27 +02:00
feeds.mk build: fix apk_package_files wildcard for packages without ABI version 2026-05-22 14:54:34 +02:00
hardened-ld-pie.specs
hardening.mk toolchain: gcc: add fanalyzer config option 2025-11-23 09:33:15 +01:00
host-build.mk build: add support for host building in a subdirectory 2024-07-27 20:32:20 +02:00
image-commands.mk filogic: add support for D-Link AQUILA PRO AI E30 2026-04-13 01:52:29 +02:00
image.mk image: fix per device targz rootfs wrong suffix and redundant images 2026-05-29 13:10:23 +02:00
kernel-build.mk kernel-build.mk: Fix multi-core build warning. 2024-10-06 13:49:39 +02:00
kernel-defaults.mk kernel: fix lz4 initramfs creation 2026-05-07 18:14:58 +02:00
kernel-version.mk kernel: move kernel version files to linux/generic directory 2025-04-22 19:22:44 +02:00
kernel.mk kernel: don't disable stack validation in cross builds 2026-06-04 20:00:36 +02:00
logo.png
logo.svg
meson.mk meson: allow using staging python 2024-12-02 19:30:22 +00:00
netfilter.mk kernel: split nf-nathelper-extra into individual packages 2026-06-24 13:26:32 +02:00
nls.mk
openssl-module.mk openssl: add MODULES_DIR MACRO for provider 2025-11-11 23:58:54 +01:00
optee-os.mk optee-os.mk: override default PATH to not use hostpkg python 2025-03-15 13:43:14 +01:00
package-bin.mk
package-defaults.mk build: fixup version.date creation for source archives 2026-06-12 17:41:09 +02:00
package-dumpinfo.mk
package-pack.mk build: don't store timestamps in APK packages 2026-06-30 18:53:03 +02:00
package-seccomp.mk
package.mk build: derive PKG_SOURCE_DATE_EPOCH from the unpacked source tree 2026-06-02 11:51:00 +02:00
prereq-build.mk prereq-build/u-boot: add Python 3.14 support 2026-06-16 12:51:01 +02:00
prereq.mk prereq: use staging_dir's compiler 2025-10-20 00:55:06 +02:00
quilt.mk kernel: move .quilt_used to quilt.mk 2025-11-27 20:26:37 +01:00
rootfs.mk treewide: drop CVS support 2026-02-13 15:40:13 +01:00
scan.awk
scan.mk
shell.sh
subdir.mk
target.mk treewide: remove unused archs leftovers 2026-05-07 10:58:47 +02:00
toolchain-build.mk
toplevel.mk build: depend on tools/zstd for download 2025-12-10 19:04:44 +01:00
trusted-firmware-a.mk include/trusted-firmware-a.mk: support LTS releases 2025-04-06 14:21:07 +03:00
u-boot.mk prereq-build/u-boot: add Python 3.14 support 2026-06-16 12:51:01 +02:00
uclibc++.mk
unpack.mk
verbose.mk
version.mk build: lock versions for special APK packages 2025-02-04 13:48:59 +00:00