[OpenWrt-Devel] [PATCH] build: fix postinst generation for AutoProbe modules.
Yousong Zhou
yszhou4tech at gmail.com
Fri Apr 10 08:48:09 EDT 2015
Fixes ticket #19352.
Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
---
This patch will help generate CONTROL/postinst file in the resulting .ipk file.
It was only compile tested and posted here just in case it can help CC rc1.
include/kernel.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/kernel.mk b/include/kernel.mk
index 700736f..cf8fb51 100644
--- a/include/kernel.mk
+++ b/include/kernel.mk
@@ -97,7 +97,7 @@ define ModuleAutoLoad
mkdir -p $(2)/etc/modules-boot.d; \
ln -s ../modules.d/$(1) $(2)/etc/modules-boot.d/; \
fi; \
- modules="$$$$$$$${modules:+$$$$$$$$modules}"; \
+ modules="$$$$$$$${modules:+$$$$$$$$modules }$$$$$$$$mods"; \
fi; \
}; \
add_module() { \
--
1.7.10.4
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list