Temporarily disable new FEATURES that require unshare, since
they may not fail gracefully in some cases.
Bug: https://bugs.gentoo.org/673900
Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico@gentoo.org>
python_prepare_all() {
distutils-r1_python_prepare_all
+ # Bug 673900 - FEATURES that require unshare may fail
+ # ungracefully if unshare support is somehow broken.
+ sed -e 's: ipc-sandbox::' \
+ -e 's:network-sandbox ::' \
+ -e 's: pid-sandbox::' \
+ -i cnf/make.globals || die
+
if use gentoo-dev; then
einfo "Disabling --dynamic-deps by default for gentoo-dev..."
sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \