Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 587758
Collapse All | Expand All

(-)a/app-emulation/libvirt/libvirt-1.3.5-r1.ebuild (-2 / +6 lines)
Lines 174-180 pkg_setup() { Link Here
174
		~!GRKERNSEC_CHROOT_CAPS"
174
		~!GRKERNSEC_CHROOT_CAPS"
175
	# Handle specific kernel versions for different features
175
	# Handle specific kernel versions for different features
176
	kernel_is lt 3 6 && CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
176
	kernel_is lt 3 6 && CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
177
	kernel_is ge 3 6 && CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP ~MEMCG_KMEM"
177
	if $(kernel_is ge 3 6); then
178
		CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP "
179
		if $(kernel_is lt 4 5); then
180
			CONFIG_CHECK+=" ~MEMCG_KMEM "
181
		fi
182
	fi
178
183
179
	use macvtap && CONFIG_CHECK+="
184
	use macvtap && CONFIG_CHECK+="
180
		~MACVTAP"
185
		~MACVTAP"
181
- 

Return to bug 587758