From: Hauke Mehrtens Date: Sat, 30 Sep 2017 11:50:44 +0000 (+0200) Subject: base-files: create /etc/config/ directory X-Git-Tag: v18.06.0-rc1~2138 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3adafda07c8509267e3321f4861f620ec3b2f37e;p=openwrt%2Fstaging%2Fxback.git base-files: create /etc/config/ directory The /bin/config_generate script and some other scripts are assuming the /etc/config directory exists in the image. This is true in case for example the package firewall, dropbear or dnsmasq are included, which are adding the files under /etc/config/. Without any of these package the system will not boot up fully because the /etc/config/ directory is missing and some init scripts just fail. Make sure all images with the base-files contain a /etc/config/ directory. Signed-off-by: Hauke Mehrtens Acked-by: John Crispin --- diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 0c0c1cee30..216e45757e 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -148,6 +148,7 @@ define Package/base-files/install mkdir -p $(1)/CONTROL mkdir -p $(1)/dev + mkdir -p $(1)/etc/config mkdir -p $(1)/etc/crontabs mkdir -p $(1)/etc/rc.d mkdir -p $(1)/overlay