From 64a94896517be2d1e5e54a9b48bff13d11851e47 Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Sun, 12 Oct 2014 09:44:08 +0200 Subject: [PATCH] lxc: set default lxcpath to /lxc Signed-off-by: Luka Perkov --- utils/lxc/Makefile | 2 +- utils/lxc/patches/100-lxc-defconfig.patch | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 utils/lxc/patches/100-lxc-defconfig.patch diff --git a/utils/lxc/Makefile b/utils/lxc/Makefile index 0b684eb66..1a2bc6c2a 100644 --- a/utils/lxc/Makefile +++ b/utils/lxc/Makefile @@ -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 index 000000000..60a0f9260 --- /dev/null +++ b/utils/lxc/patches/100-lxc-defconfig.patch @@ -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