aboutsummaryrefslogtreecommitdiffstats
path: root/package/uci
diff options
context:
space:
mode:
authorAndy Boyett <agb@openwrt.org>2008-06-17 00:44:10 +0000
committerAndy Boyett <agb@openwrt.org>2008-06-17 00:44:10 +0000
commit2e556103002f7a0ea4b7cccaad06c71bd2b59cf6 (patch)
tree498d76c6e675491e92ca6fcef99a1d67ef661326 /package/uci
parente97e5b9907f3fd2d875d861b47673109e7c5ba33 (diff)
downloadupstream-2e556103002f7a0ea4b7cccaad06c71bd2b59cf6.tar.gz
upstream-2e556103002f7a0ea4b7cccaad06c71bd2b59cf6.tar.bz2
upstream-2e556103002f7a0ea4b7cccaad06c71bd2b59cf6.zip
[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
Diffstat (limited to 'package/uci')
-rw-r--r--package/uci/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/uci/Makefile b/package/uci/Makefile
index ecc53b0890..6bf2a13b63 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)/