aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevan Franchini <twitch153@gentoo.org>2014-07-07 19:48:51 -0400
committerDevan Franchini <twitch153@gentoo.org>2014-08-13 22:00:50 -0400
commit41ec3a03cbbd6d9ad1d2dcf06d41c3f336fd58e8 (patch)
treea041f05589ad436930c31671e8671a2c43d69ebd /layman/config.py
parentupdater.py: Adds check for repos.conf existence (diff)
downloadlayman-41ec3a03cbbd6d9ad1d2dcf06d41c3f336fd58e8.tar.gz
layman-41ec3a03cbbd6d9ad1d2dcf06d41c3f336fd58e8.tar.bz2
layman-41ec3a03cbbd6d9ad1d2dcf06d41c3f336fd58e8.zip
Adds interactive session for unofficial overlay installs
In order to improve the communication of the risks taken from installing unofficial overlays, a config option has been created that when enabled will create an interactive session to confirm that the user is aware that they are installing an unofficial overlay. X-Gentoo-Bug: 315359 X-Gentoo-Bug-URL: https://bugs.gentoo.org/315359
Diffstat (limited to 'layman/config.py')
-rw-r--r--layman/config.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/layman/config.py b/layman/config.py
index 7c16745..46a9dca 100644
--- a/layman/config.py
+++ b/layman/config.py
@@ -97,6 +97,7 @@ class BareConfig(object):
'local_list': '%(storage)s/overlays.xml',
'installed': '%(storage)s/installed.xml',
'auto_sync': 'No',
+ 'check_official': 'Yes',
'conf_type': 'make.conf',
'require_repoconfig': 'Yes',
'clean_tar': 'yes',
@@ -125,7 +126,7 @@ class BareConfig(object):
'rsync_command': path([self.root, EPREFIX,'/usr/bin/rsync']),
'svn_command': path([self.root, EPREFIX,'/usr/bin/svn']),
'tar_command': path([self.root, EPREFIX,'/bin/tar']),
- 't/f_options': ['clean_tar', 'nocheck', 'require_repoconfig'],
+ 't/f_options': ['check_official', 'clean_tar', 'nocheck', 'require_repoconfig'],
'bzr_addopts' : '',
'bzr_syncopts' : '',
'cvs_addopts' : '',