From: agb <agb@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Tue, 17 Jun 2008 00:44:10 +0000 (+0000)
Subject: [uci] Create $(1)/etc/uci-defaults directory during installation. Thanks Yuji Mano.
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/198aaf22513de9fbd7f55ce3017fc7bf90340a84?ds=sidebyside

[uci] Create $(1)/etc/uci-defaults directory during installation. Thanks Yuji Mano.
 - Fixes the use of CONFIG_UCI_PRECONFIG under git; git does not track empty directories.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11517 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

diff --git a/package/uci/Makefile b/package/uci/Makefile
index ecc53b089..6bf2a13b6 100644
--- a/package/uci/Makefile
+++ b/package/uci/Makefile
@@ -78,6 +78,7 @@ define Package/libuci-lua/install
 endef
 
 define Package/uci/install
+	$(INSTALL_DIR) $(1)/etc/uci-defaults
 	$(INSTALL_DIR) $(1)/sbin
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/uci $(1)/sbin/
 	$(CP) ./files/uci/* $(1)/