summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Bosch <posting@vodacomm.ca>2020-08-04 17:46:09 +0200
committerJoonas Niilola <juippis@gentoo.org>2020-08-05 09:43:57 +0300
commit22571aa100b404068b27c28b2365855c1426fce0 (patch)
tree2bc3dc60c9cac97d0bdd81a55767c1714c7a3130 /app-emulation/lxc
parentsys-apps/ethtool: Bump to version 5.8 (diff)
downloadgentoo-22571aa100b404068b27c28b2365855c1426fce0.tar.gz
gentoo-22571aa100b404068b27c28b2365855c1426fce0.tar.bz2
gentoo-22571aa100b404068b27c28b2365855c1426fce0.zip
app-emulation/lxc: Add MEMCG to config checks
Closes: https://bugs.gentoo.org/735132 Signed-off-by: Stephen Bosch <posting@vodacomm.ca> Closes: https://github.com/gentoo/gentoo/pull/17000 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-emulation/lxc')
-rw-r--r--app-emulation/lxc/lxc-4.0.3.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-emulation/lxc/lxc-4.0.3.ebuild b/app-emulation/lxc/lxc-4.0.3.ebuild
index 18554a5e703a..c5119e1d5420 100644
--- a/app-emulation/lxc/lxc-4.0.3.ebuild
+++ b/app-emulation/lxc/lxc-4.0.3.ebuild
@@ -37,6 +37,7 @@ PDEPEND="templates? ( app-emulation/lxc-templates )"
CONFIG_CHECK="~CGROUPS ~CGROUP_DEVICE
~CPUSETS ~CGROUP_CPUACCT
~CGROUP_SCHED
+ ~MEMCG
~NAMESPACES
~IPC_NS ~USER_NS ~PID_NS
@@ -55,6 +56,7 @@ ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
ERROR_NETPRIO_CGROUP="CONFIG_NETPRIO_CGROUP: as of kernel 3.3 and lxc 0.8.0_rc1 this causes LXCs to fail booting."
+ERROR_MEMCG="CONFIG_MEMCG is not set. This is needed for memory resource control in containers."
DOCS=( AUTHORS CONTRIBUTING MAINTAINERS NEWS README doc/FAQ.txt )