From: Alexander Couzens Date: Fri, 20 Sep 2019 14:55:27 +0000 (+0200) Subject: image/cpio.gz: ensure inodes are allocated in a reproducible way X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=d1045072f9351c4d79fe00c28dbdb5944cbc67a2;p=openwrt%2Fstaging%2Flynxis.git image/cpio.gz: ensure inodes are allocated in a reproducible way Signed-off-by: Alexander Couzens --- diff --git a/include/image.mk b/include/image.mk index 5d54bc7947..c964bd5aac 100644 --- a/include/image.mk +++ b/include/image.mk @@ -327,7 +327,7 @@ endif ifdef CONFIG_TARGET_ROOTFS_CPIOGZ define Image/Build/cpiogz - ( cd $(TARGET_DIR); find . | cpio -o -H newc -R root:root | gzip -9n >$(BIN_DIR)/$(IMG_ROOTFS).cpio.gz ) + ( cd $(TARGET_DIR); find . | cpio --reproducible -o -H newc -R root:root | gzip -9n >$(BIN_DIR)/$(IMG_ROOTFS).cpio.gz ) endef endif