lxc: set default lxcpath to /lxc
authorLuka Perkov <luka@openwrt.org>
Sun, 12 Oct 2014 07:44:08 +0000 (09:44 +0200)
committerLuka Perkov <luka.perkov@sartura.hr>
Tue, 21 Oct 2014 12:17:56 +0000 (08:17 -0400)
Signed-off-by: Luka Perkov <luka@openwrt.org>
utils/lxc/Makefile
utils/lxc/patches/100-lxc-defconfig.patch [new file with mode: 0644]

index 0b684eb66682f59b8b5c59ff86d4d7228ca0e58c..1a2bc6c2a889020a3fee8d1c0c6326d88197df35 100644 (file)
@@ -155,7 +155,7 @@ define Package/lxc-common/install
        $(INSTALL_DIR) $(1)/etc/lxc/
        $(CP) \
                $(PKG_INSTALL_DIR)/etc/lxc/default.conf \
-               $(1)/etc/lxc/
+               $(1)/etc/lxc/lxc.conf
 endef
 
 define Package/lxc-hooks/install
diff --git a/utils/lxc/patches/100-lxc-defconfig.patch b/utils/lxc/patches/100-lxc-defconfig.patch
new file mode 100644 (file)
index 0000000..60a0f92
--- /dev/null
@@ -0,0 +1,5 @@
+--- a/config/etc/default.conf.unknown
++++ b/config/etc/default.conf.unknown
+@@ -1 +1,2 @@
++lxc.lxcpath = /lxc
+ lxc.network.type = empty