diff options
author | Michael Grzeschik <m.grzeschik@pengutronix.de> | 2018-08-31 15:25:13 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-09-06 08:57:13 +0200 |
commit | 9ff6cca716e62e4c9d8f6ccaea61afe4702bcdd2 (patch) | |
tree | d55ea4514a14e46f8dbc3a0606b8a64606d8a86d /rules/lxc.in | |
parent | ed3920c86629f43ca475df95ece10ac30d2388dc (diff) | |
download | ptxdist-9ff6cca716e62e4c9d8f6ccaea61afe4702bcdd2.tar.gz ptxdist-9ff6cca716e62e4c9d8f6ccaea61afe4702bcdd2.tar.xz |
lxc: add new package
This patch adds support for the lxc container system. We install the
userspace lib and application.
To make sure all necessary kernel options are enabled use:
$ CONFIG=/path/to/kernelconfig lxc-checkconfig
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/lxc.in')
-rw-r--r-- | rules/lxc.in | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/rules/lxc.in b/rules/lxc.in new file mode 100644 index 000000000..571a3dff6 --- /dev/null +++ b/rules/lxc.in @@ -0,0 +1,36 @@ +## SECTION=system_libraries + +menuconfig LXC + bool + prompt "lxc " + select LIBSECCOMP + select GLIBC_GETENT + select BUSYBOX_FEATURE_SH_MATH if LXC_SYSTEMD_UNIT + select SYSTEMD if LXC_SYSTEMD_UNIT + select DNSMASQ if LXC_SYSTEMD_UNIT + select IPTABLES if LXC_SYSTEMD_UNIT + select IPTABLES_IPV4 if LXC_SYSTEMD_UNIT + select IPTABLES_IPV6 if LXC_SYSTEMD_UNIT + select IPTABLES_INSTALL_TOOLS if LXC_SYSTEMD_UNIT + help + LXC is a userspace interface for the Linux kernel containment + features. Through a powerful API and simple tools, it lets + Linux users easily create and manage system or application + containers. + +if LXC + +config LXC_SYSTEMD_UNIT + bool + prompt "LXC systemd unit" + default INITMETHOD_SYSTEMD + help + Turn on to install systemd unit for lxc + +config LXC_TEST_TOOLS + bool + prompt "LXC test applications" + help + Turn on to enable building the lxc test applications + +endif |