From 7f36797bb780104b973000f1cf48ff8f611e12e5 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Mon, 17 Aug 2009 10:14:25 +0000 Subject: ensure CONTROL directory is created (#5683) SVN-Revision: 17293 --- include/kernel.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'include/kernel.mk') diff --git a/include/kernel.mk b/include/kernel.mk index 20377af3cf..cb62e63810 100644 --- a/include/kernel.mk +++ b/include/kernel.mk @@ -77,6 +77,7 @@ define ModuleAutoLoad $(3) \ if [ -n "$$$$$$$$modules" ]; then \ mkdir -p $(2)/etc/modules.d; \ + mkdir -p $(2)/CONTROL; \ echo "#!/bin/sh" > $(2)/CONTROL/postinst; \ echo "[ -z \"\$$$$$$$$IPKG_INSTROOT\" ] || exit 0" >> $(2)/CONTROL/postinst; \ echo ". /etc/functions.sh" >> $(2)/CONTROL/postinst; \ -- cgit v1.2.3