diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-02-03 16:25:38 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-02-05 22:58:20 +0100 |
commit | 968fe10adbc362b1aacf682bac3eba8c32d1c058 (patch) | |
tree | e69590228f4304cd57f0ea196c078a972ccc49c6 | |
parent | app-crypt/ubuntu-keyring: 2018.02.05 (diff) | |
download | gentoo-968fe10adbc362b1aacf682bac3eba8c32d1c058.tar.gz gentoo-968fe10adbc362b1aacf682bac3eba8c32d1c058.tar.bz2 gentoo-968fe10adbc362b1aacf682bac3eba8c32d1c058.zip |
sys-apps/portage: Enable additional QA features for USE=gentoo-dev
Enable additional FEATURES for developers that are not ready for
deployment on our users but are useful for preventing developers from
committing common mistakes.
Closes: https://github.com/gentoo/gentoo/pull/7034
-rw-r--r-- | sys-apps/portage/portage-2.3.24.ebuild | 4 | ||||
-rw-r--r-- | sys-apps/portage/portage-9999.ebuild | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sys-apps/portage/portage-2.3.24.ebuild b/sys-apps/portage/portage-2.3.24.ebuild index 8de39be77589..9c6f5d9387dc 100644 --- a/sys-apps/portage/portage-2.3.24.ebuild +++ b/sys-apps/portage/portage-2.3.24.ebuild @@ -99,6 +99,10 @@ python_prepare_all() { sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \ -i pym/_emerge/create_depgraph_params.py || \ die "failed to patch create_depgraph_params.py" + + einfo "Enabling additional FEATURES for gentoo-dev..." + echo 'FEATURES="${FEATURES} ipc-sandbox network-sandbox strict-keepdir"' \ + >> cnf/make.globals || die fi if use native-extensions; then diff --git a/sys-apps/portage/portage-9999.ebuild b/sys-apps/portage/portage-9999.ebuild index fdf7d5dee9dc..e91f5535212f 100644 --- a/sys-apps/portage/portage-9999.ebuild +++ b/sys-apps/portage/portage-9999.ebuild @@ -98,6 +98,10 @@ python_prepare_all() { sed -e 's:\("--dynamic-deps", \)\("y"\):\1"n":' \ -i pym/_emerge/create_depgraph_params.py || \ die "failed to patch create_depgraph_params.py" + + einfo "Enabling additional FEATURES for gentoo-dev..." + echo 'FEATURES="${FEATURES} ipc-sandbox network-sandbox strict-keepdir"' \ + >> cnf/make.globals || die fi if use native-extensions; then |