mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-18 18:56:37 +00:00
ar71xx/images/senao: fix reproducible issue using tar
Use deterministic sorting Use numeric owner/group Set uid/gid to 0 Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
This commit is contained in:
parent
d6331d5583
commit
d98cafc7b6
@ -9,6 +9,7 @@ define Build/senao-factory-image
|
||||
$(CP) $(rootfs) $@.senao/openwrt-senao-$(board)-root.squashfs
|
||||
|
||||
$(TAR) -c \
|
||||
--numeric-owner --owner=0 --group=0 --sort=name \
|
||||
$(if $(SOURCE_DATE_EPOCH),--mtime="@$(SOURCE_DATE_EPOCH)") \
|
||||
-C $@.senao . | gzip -9nc > $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user