1
0
Fork 0
forked from mirror/openwrt
openwrt/include
Paul Spooren 16416782f1 include: make APK packing mtime reproducible
APK kindly stores the mtime of each containing file in created packages,
breaking reproducibility. As a fix, touch all files of the package with the
timestamp of PKGSOURCE_DATE_EPOCH, which contains the timestamp based on the
last package modification.

Over at OPKG, something similar is done by setting mtime in the tar command,
see the `ipkg-build` script.

To tackle this in APK directly, some changes are suggested. However until this
is merged, we should fix it downstream.
https://gitlab.alpinelinux.org/alpine/apk-tools/-/merge_requests/348

Signed-off-by: Paul Spooren <mail@aparcar.org>
2025-09-30 14:48:13 +02:00
..
site
autotools.mk
bpf.mk
cmake.mk
debug.mk
default-packages.mk
depends.mk
device_table.txt
download.mk build: parsing "git log" breaks with gpg signature verification 2025-09-23 21:49:54 +02:00
feeds.mk
hardened-ld-pie.specs
hardening.mk
host-build.mk
image-commands.mk image: adapt mikrotik yafut to allow switch to bootimage YAFFS path 2025-09-29 17:34:51 +01:00
image.mk build: remove iwinfo dependency 2025-09-27 22:04:57 +02:00
kernel-build.mk
kernel-defaults.mk
kernel-version.mk
kernel.mk
logo.png
logo.svg
meson.mk
netfilter.mk
nls.mk
openssl-module.mk
optee-os.mk
package-bin.mk
package-defaults.mk
package-dumpinfo.mk
package-pack.mk include: make APK packing mtime reproducible 2025-09-30 14:48:13 +02:00
package-seccomp.mk
package.mk
prereq-build.mk build: Add compatibility with uutils' coreutils 2025-09-08 14:41:38 +02:00
prereq.mk prereq: add support for creating relative symlinks 2025-07-26 14:38:08 +02:00
quilt.mk
rootfs.mk
scan.awk
scan.mk
shell.sh
subdir.mk
target.mk build: remove iwinfo dependency 2025-09-27 22:04:57 +02:00
toolchain-build.mk
toplevel.mk
trusted-firmware-a.mk
u-boot.mk
uclibc++.mk
unpack.mk
verbose.mk
version.mk