The last changes in image.mk changed build order and targets. Now
squashfs is not build 'always', and even if it is defined in the config,
it will be built after Image/Build/Initramfs. So, the last will fail
(because root.squashfs is reffered in ubinize.cfg). Note that with this
patch you still need to set 'rootfs - squashfs' in the config, since
include/image.mk still refer to it's parameters.

Signed-off-by: Alexey N Vinogradov <a.n.vinogra...@gmail.com>
---
diff --git a/target/linux/bcm53xx/image/Makefile 
b/target/linux/bcm53xx/image/Makefile
index b2fafd9..1f011ff 100644
--- a/target/linux/bcm53xx/image/Makefile
+++ b/target/linux/bcm53xx/image/Makefile
@@ -91,6 +91,7 @@ define Image/Build
 endef
 
 define Image/Build/Initramfs
+       $(call Image/mkfs/squashfs)
        $(call Image/Build,initramfs)
 endef
 
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to