From: Alexander Couzens Date: Sat, 24 Jun 2017 16:33:52 +0000 (+0200) Subject: ar71xx/images/senao: fix reproducible issue using tar X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d98cafc7b6b06618ecc774efbb862b5e18b08831;p=openwrt%2Fstaging%2Frobimarko.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 --- diff --git a/target/linux/ar71xx/image/senao.mk b/target/linux/ar71xx/image/senao.mk index 0c56aa49b3..57e3610e5d 100644 --- a/target/linux/ar71xx/image/senao.mk +++ b/target/linux/ar71xx/image/senao.mk @@ -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 > $@