diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-07-07 14:32:20 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-07-07 14:32:20 -0400 |
commit | 6ba837fd87ba520b92a11b1e7aca01e057134c72 (patch) | |
tree | 47951f02aea0289d7df0a6b517dce37874e6ce1c /scripts/cycle.1.py | |
parent | scripts/cycle.1.py: emerge list of pkgs for stage1. (diff) | |
download | grs-6ba837fd87ba520b92a11b1e7aca01e057134c72.tar.gz grs-6ba837fd87ba520b92a11b1e7aca01e057134c72.tar.bz2 grs-6ba837fd87ba520b92a11b1e7aca01e057134c72.zip |
scripts/cycle.1.py: need to import portage.
Diffstat (limited to 'scripts/cycle.1.py')
-rw-r--r-- | scripts/cycle.1.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/cycle.1.py b/scripts/cycle.1.py index 2534c25..6e3211a 100644 --- a/scripts/cycle.1.py +++ b/scripts/cycle.1.py @@ -3,7 +3,7 @@ import os import re -from portage import settings +import portage from grs.Execute import Execute def scan_profile_stack(pfile): @@ -30,7 +30,7 @@ def get_blist(): return ' '.join(blist) -use_flags = '-* bindist build %s' % settings['BOOTSTRAP_USE'] +use_flags = '-* bindist build %s' % portage.settings['BOOTSTRAP_USE'] subchroot = '/tmp/stage1root' cpu_flags = 'mmx sse sse2' emerge_env = { 'USE' : use_flags, 'ROOT' : subchroot, 'CPU_FLAGS_X86' : cpu_flags } |