diff options
Diffstat (limited to 'target/linux/ar71xx/image/senao.mk')
-rw-r--r-- | target/linux/ar71xx/image/senao.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/target/linux/ar71xx/image/senao.mk b/target/linux/ar71xx/image/senao.mk index 46ea9703fa..0c56aa49b3 100644 --- a/target/linux/ar71xx/image/senao.mk +++ b/target/linux/ar71xx/image/senao.mk @@ -8,7 +8,10 @@ define Build/senao-factory-image $(CP) $(IMAGE_KERNEL) $@.senao/openwrt-senao-$(board)-uImage-lzma.bin $(CP) $(rootfs) $@.senao/openwrt-senao-$(board)-root.squashfs - $(TAR) -czf $@ -C $@.senao . + $(TAR) -c \ + $(if $(SOURCE_DATE_EPOCH),--mtime="@$(SOURCE_DATE_EPOCH)") \ + -C $@.senao . | gzip -9nc > $@ + rm -rf $@.senao endef |