ar71xx/images/senao: fix reproducible issue using tar
[openwrt/staging/wigyori.git] / target / linux / ar71xx / image / senao.mk
index 0c56aa49b3b8bb8dddcce27b0b02ddbfabb8a6e3..57e3610e5d5795f6431dd2273f1bae7e2c29023d 100644 (file)
@@ -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 > $@