Re: [OpenWrt-Devel] [PATCH] image: default block size for squashfs

2014-11-09 Thread Alexey N. Vinogradov
Where is squashfs ever necessary for initramfs? bcm53xx/image. The ubinize is invoked for any fs (initramfs, squashfs). And, in turn, in ubinize.conf the root.squashfs is reffered. So, if just ask to build initramfs (without any squash, etc.) it will invoke squashing, which would fail without

[OpenWrt-Devel] [PATCH] Fixed dependencies in netfilter modules introduced with 3.18 kernel

2014-11-06 Thread Alexey N. Vinogradov
Building current trunk with 3.18 kernel fired some errors like 'missed dependancy of module XXX from library kmod_YYY.ko'. These patch fixes 3 of such issues which are critical to have a successful build. diff --git a/include/netfilter.mk b/include/netfilter.mk index 72c66d9..9c28a68 100644 ---

Re: [OpenWrt-Devel] [PATCH] Fixed dependencies in netfilter modules introduced with 3.18 kernel

2014-11-06 Thread Alexey N. Vinogradov
Your patch is broken. Its missing the 3rd line after the 3rd chunk where you added +$(eval $(call nf_add,IPT_NAT,CONFIG_IP_NF_TARGET_MASQUERADE, $(P_V4)nf_nat_masquerade_ipv4, ge 3.18.0)) Yes, I see. And also I'd send it in process of reading 'SubmittingPatches' wiki (this is my first

[OpenWrt-Devel] [PATCH] [generic] Fixed dependencies in netfilter modules introduced with 3.18 kernel

2014-11-06 Thread Alexey N. Vinogradov
From: Alexey N Vinogradov a.n.vinogra...@gmail.com Building current trunk with 3.18 kernel fired some errors like 'missed dependancy of module XXX from library kmod_YYY.ko'. These patch fixes 3 of such issues which are critical to have a successful build. Signed-off-by: Alexey N Vinogradov

[OpenWrt-Devel] [PATCH] bcm53xx: image: fixed Makefile to avoid broken build entered with last include/image.mk changes

2014-11-06 Thread Alexey N. Vinogradov
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

[OpenWrt-Devel] [PATCH] bcm53xx: image: changed manual jffs2 marking to general rule

2014-11-06 Thread Alexey N. Vinogradov
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..599af4e 100644 --- a/target/linux/bcm53xx/image/Makefile +++ b/target/linux/bcm53xx/image/Makefile @@ -9,7 +9,7 @@ include

[OpenWrt-Devel] [PATCH] image: default block size for squashfs

2014-11-06 Thread Alexey N. Vinogradov
Sometimes squashfs is necessary for other targets (say, initramfs). In this case it may not be explicitly checked in the config, and squash fs block size will not be explicitly defined. This patch will set this value to 256k in such case. Signed-off-by: Alexey N Vinogradov a.n.vinogra