oxnas: small image improvements for kd20
authorDaniel Golle <daniel@makrotopia.org>
Sun, 4 Sep 2016 17:12:12 +0000 (19:12 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 9 Sep 2016 00:16:22 +0000 (02:16 +0200)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/oxnas/image/Makefile

index a9fb139ca451f1f4b402f7e0b48baab27b00d115..bc691de40579d2c3be5f81dd8ec3a77c4513d12d 100644 (file)
@@ -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