mirror of https://github.com/hak5/openwrt-owl.git
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>owl
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