lxc: add configuration section
Signed-off-by: Luka Perkov <luka@openwrt.org>
This commit is contained in:
parent
34fd74553a
commit
1614bed10b
2 changed files with 20 additions and 1 deletions
15
utils/lxc/Config.in
Normal file
15
utils/lxc/Config.in
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
menu "Configuration"
|
||||||
|
depends on PACKAGE_lxc
|
||||||
|
|
||||||
|
config LXC_KERNEL_OPTIONS
|
||||||
|
bool "Enable kernel support for LXC"
|
||||||
|
default n
|
||||||
|
select KERNEL_CGROUPS
|
||||||
|
select KERNEL_NAMESPACES
|
||||||
|
select KERNEL_LXC_MISC
|
||||||
|
help
|
||||||
|
Select needed kernel options for LXC related utilities. Options
|
||||||
|
include cgroups, namespaces and other miscellaneous options. These
|
||||||
|
options unfortunately can not be installed as a module.
|
||||||
|
|
||||||
|
endmenu
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=lxc
|
PKG_NAME:=lxc
|
||||||
PKG_VERSION:=1.0.5
|
PKG_VERSION:=1.0.5
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||||
PKG_SOURCE_URL:=http://linuxcontainers.org/downloads/
|
PKG_SOURCE_URL:=http://linuxcontainers.org/downloads/
|
||||||
|
@ -49,6 +49,10 @@ define Package/lxc
|
||||||
MENU:=1
|
MENU:=1
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/lxc/config
|
||||||
|
source "$(SOURCE)/Config.in"
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/lxc/description
|
define Package/lxc/description
|
||||||
LXC is the userspace control package for Linux Containers, a lightweight
|
LXC is the userspace control package for Linux Containers, a lightweight
|
||||||
virtual system mechanism sometimes described as "chroot on steroids".
|
virtual system mechanism sometimes described as "chroot on steroids".
|
||||||
|
|
Loading…
Reference in a new issue