mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-12 15:38:37 +04:00
The factory images of the ZyXEL NWA11xx devices differ between builds in the tar.bz2 they wrap: -drwxr-xr-x 0 buildbot (1000) buildbot (1000) 0 2026-09-24 21:39:18 ./ -rw-r--r-- 0 buildbot (1000) buildbot (1000) 3387 2026-09-24 21:39:18 ./vmlinux_mi124_f1e.lzma.uImage -rw-r--r-- 0 buildbot (1000) buildbot (1000) 8388608 2026-09-24 21:39:18 ./mi124_f1e-jffs2 +drwxr-xr-x 0 rebuilder (1000) rebuilder (1000) 0 2026-09-25 01:03:01 ./ +-rw-r--r-- 0 rebuilder (1000) rebuilder (1000) 8388608 2026-09-25 01:03:01 ./mi124_f1e-jffs2 +-rw-r--r-- 0 rebuilder (1000) rebuilder (1000) 3387 2026-09-25 01:03:01 ./vmlinux_mi124_f1e.lzma.uImage zyxel-tar-bz2 archives the staging directory as it is, so owner, mtime and the order of the members come from the build host. Store the members as root with the mtime set to SOURCE_DATE_EPOCH and without group or other write permission. List them explicitly, kernel first, which is the order of the images built so far, instead of sorting them by name. Link: https://github.com/openwrt/openwrt/pull/25389 Signed-off-by: Paul Spooren <mail@aparcar.org>