diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2015-07-09 22:06:23 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2015-07-09 22:06:23 -0400 |
commit | 8314021df7cac5eb7e02047140ec4574160aac35 (patch) | |
tree | d1482ae0f2365e5049468e99a132ffeb11a0dcd0 /scripts/cycle.1.py | |
parent | Do a depclean at the very end. (diff) | |
download | grs-8314021df7cac5eb7e02047140ec4574160aac35.tar.gz grs-8314021df7cac5eb7e02047140ec4574160aac35.tar.bz2 grs-8314021df7cac5eb7e02047140ec4574160aac35.zip |
scripts/cycle.1.py: add new logfile=None to log to stdout.
Diffstat (limited to 'scripts/cycle.1.py')
-rw-r--r-- | scripts/cycle.1.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/cycle.1.py b/scripts/cycle.1.py index 1de575f..b704c42 100644 --- a/scripts/cycle.1.py +++ b/scripts/cycle.1.py @@ -37,14 +37,14 @@ cpu_flags = 'mmx sse sse2' emerge_env = { 'USE' : use_flags, 'ROOT' : subchroot, 'CPU_FLAGS_X86' : cpu_flags } cmd = 'emerge -bkNu1q sys-apps/baselayout' -Execute(cmd, timeout=None, extra_env=emerge_env) +Execute(cmd, timeout=None, extra_env=emerge_env, logfile=None) os.makedirs('/tmp/stage1root/etc/portage', mode=0o755, exist_ok=True) shutil.copy('/etc/portage/make.conf', '/tmp/stage1root/etc/portage') cmd = 'emerge -bkNu1q %s' % get_blist() -Execute(cmd, timeout=None, extra_env=emerge_env) +Execute(cmd, timeout=None, extra_env=emerge_env, logfile=None) for d in ['info', 'doc', 'man', 'zoneinfo']: cmd = 'find /tmp/stage1root/usr/share -type d -iname %s -exec rm -rf {} +' % d - Execute(cmd, timeout=None, extra_env=emerge_env) + Execute(cmd, timeout=None, extra_env=emerge_env, logfile=None) |