summaryrefslogtreecommitdiff
path: root/morphlib/stagingarea.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/stagingarea.py')
-rw-r--r--morphlib/stagingarea.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/stagingarea.py b/morphlib/stagingarea.py
index 24b72867..de29eede 100644
--- a/morphlib/stagingarea.py
+++ b/morphlib/stagingarea.py
@@ -51,9 +51,9 @@ class StagingArea(object):
self.env.update(extra_env)
if use_chroot:
- path = build_env.extra_path + self._base_path
+ path = extra_path + build_env.extra_path + self._base_path
else:
- rel_path = build_env.extra_path
+ rel_path = extra_path + build_env.extra_path
full_path = [os.path.normpath(dirname + p) for p in rel_path]
path = full_path + os.environ['PATH'].split(':')
self.env['PATH'] = ':'.join(path)