[source] oxnas: small image improvements for kd20

LEDE Commits lede-commits at lists.infradead.org
Thu Sep 8 17:39:50 PDT 2016


dangole pushed a commit to source.git, branch master:
https://git.lede-project.org/943cf08fb72ab87b8a5ccb7752d36b6b452ac09f

commit 943cf08fb72ab87b8a5ccb7752d36b6b452ac09f
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sun Sep 4 19:12:12 2016 +0200

    oxnas: small image improvements for kd20
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/linux/oxnas/image/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/target/linux/oxnas/image/Makefile b/target/linux/oxnas/image/Makefile
index a9fb139..bc691de 100644
--- a/target/linux/oxnas/image/Makefile
+++ b/target/linux/oxnas/image/Makefile
@@ -59,7 +59,8 @@ define Build/omninas-factory
 		$@.tmp/rdimg.gz
 	echo 2.35.20140102 > $@.tmp/version ; echo >> $@.tmp/version
 	chmod 0744 $@.tmp/*
-	$(TAR) -C $@.tmp -czvf $@ .
+	$(TAR) -C $@.tmp -czvf $@ \
+		$(if $(SOURCE_DATE_EPOCH),--mtime="@$(SOURCE_DATE_EPOCH)") .
 endef
 
 define Build/encrypt-3des
@@ -75,7 +76,8 @@ define Device/kd20
   KERNEL_INITRAMFS = kernel-bin | append-dtb | uImage none | omninas-factory | encrypt-3des sohmuntitnlaes
   KERNEL_IMAGE := zImage
   DEVICE_PACKAGES := kmod-usb3 kmod-i2c-gpio kmod-rtc-pcf8563 kmod-gpio-beeper \
-                     kmod-hwmon-core kmod-hwmon-gpiofan
+                     kmod-hwmon-core kmod-hwmon-gpiofan \
+                     kmod-md-mod kmod-md-raid0 kmod-md-raid1 kmod-fs-ext4 kmod-fs-xfs
   KERNEL_IN_UBI := 
   UBOOTENV_IN_UBI := 
 endef



More information about the lede-commits mailing list