From: Christian Lamparter <chunkeey@gmail.com>
Date: Thu, 2 Dec 2021 19:04:53 +0000 (+0100)
Subject: gemini: only provide squashfs image for storlink-derivates
X-Git-Tag: mikrotik~537
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=eb20a1b8bb631084b9a70126eac2a6e32c3f3565;p=openwrt%2Fstaging%2Fchunkeey.git

gemini: only provide squashfs image for storlink-derivates

The itian sq201, raidsonic ib-4220-b and storlink sl93512r
can't boot from ext4. This is because the rootfstype in the
device-tree bootargs is set to "squashfs,jffs2". (And ext4
was not designed for raw NOR flash chips).

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
---

diff --git a/target/linux/gemini/image/Makefile b/target/linux/gemini/image/Makefile
index 9906808c9e..c84f1926dd 100644
--- a/target/linux/gemini/image/Makefile
+++ b/target/linux/gemini/image/Makefile
@@ -181,6 +181,7 @@ define Device/storlink-reference
 	COMPILE := copy-kernel-$(1).bin
 	COMPILE/copy-kernel-$(1).bin := copy-kernel.bin
 	IMAGES := factory.bin
+	FILESYSTEMS := squashfs
 	IMAGE/factory.bin := append-rootfs | pad-rootfs | pad-to 6144k | \
 		storlink-default-images $(1)
 	DEVICE_PACKAGES := $(GEMINI_NAS_PACKAGES)