commit:     22571aa100b404068b27c28b2365855c1426fce0
Author:     Stephen Bosch <posting <AT> vodacomm <DOT> ca>
AuthorDate: Tue Aug  4 15:46:09 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Aug  5 06:43:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22571aa1

app-emulation/lxc: Add MEMCG to config checks

Closes: https://bugs.gentoo.org/735132
Signed-off-by: Stephen Bosch <posting <AT> vodacomm.ca>
Closes: https://github.com/gentoo/gentoo/pull/17000
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 app-emulation/lxc/lxc-4.0.3.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app-emulation/lxc/lxc-4.0.3.ebuild 
b/app-emulation/lxc/lxc-4.0.3.ebuild
index 18554a5e703..c5119e1d542 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 )
 

Reply via email to