aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStanislav Ochotnicky <sochotnicky@gmail.com>2009-07-24 13:34:37 +0200
committerStanislav Ochotnicky <sochotnicky@gmail.com>2009-07-25 00:51:52 +0200
commit944a2d13bbfcffc8d49d5f0315c1c2eaf0377f36 (patch)
tree73297d828a704c886005e7b6525fe21ebfd6b502 /src
parentFixed cases where r0 was added to version (diff)
downloadcollagen-944a2d13bbfcffc8d49d5f0315c1c2eaf0377f36.tar.gz
collagen-944a2d13bbfcffc8d49d5f0315c1c2eaf0377f36.tar.bz2
collagen-944a2d13bbfcffc8d49d5f0315c1c2eaf0377f36.zip
Started creating/using binary packages
Diffstat (limited to 'src')
-rw-r--r--src/tinderbox/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tinderbox/__init__.py b/src/tinderbox/__init__.py
index f72f227..de3f53b 100644
--- a/src/tinderbox/__init__.py
+++ b/src/tinderbox/__init__.py
@@ -90,7 +90,7 @@ class Tinderbox(object):
# prepare chroot & fork & do work
try:
- subprocess.check_call([config.MK_CHROOT_SCRIPT,"-s",config.STAGE_TARBALL,
+ subprocess.check_call([config.MK_CHROOT_SCRIPT,"-s",config.STAGE_TARBALL,
config.BASE_CHROOT, config.WORK_CHROOT])
except CalledProcessError, cpe:
raise ChrootPreparationException("Chroot preparation for %s failed with error code: %d"
@@ -163,7 +163,7 @@ class Tinderbox(object):
extra_use = dep[0]
if extra_use:
os.environ["USE"]=" ".join(extra_use)
- sys.argv = ["emerge","--verbose","=%s" % dep[1]]
+ sys.argv = ["emerge","--verbose", "--usepkg", "--buildpkg" ,"=%s" % dep[1]]
exit_code = emerge.emerge_main()
sys.exit(exit_code)
except Exception, e: