diff options
-rw-r--r-- | src/tinderbox/__init__.py | 4 |
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: |