diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2014-01-27 14:38:58 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 11:53:42 +0000 |
commit | ed89fd28d743980b15312c00be632d914805df5b (patch) | |
tree | d7f4e0842e40ffa1395078878cdafe211295ca8b /meta | |
parent | 9c71ee080dcc42cb9a604ba0f6cde168f620e593 (diff) | |
download | poky-ed89fd28d743980b15312c00be632d914805df5b.tar.gz |
lib/oe/rootfs.py: fix invoking _run_intercepts failed
- The variable D is needed by intercepts scripts;
(From OE-Core rev: 3d37dcdb836b59d8a7f880ce22d06760eb8af232)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oe/rootfs.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index cc986273d9..db54e17b28 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py | |||
@@ -153,6 +153,7 @@ class Rootfs(object): | |||
153 | "intercept_scripts") | 153 | "intercept_scripts") |
154 | 154 | ||
155 | bb.note("Running intercept scripts:") | 155 | bb.note("Running intercept scripts:") |
156 | os.environ['D'] = self.image_rootfs | ||
156 | for script in os.listdir(intercepts_dir): | 157 | for script in os.listdir(intercepts_dir): |
157 | script_full = os.path.join(intercepts_dir, script) | 158 | script_full = os.path.join(intercepts_dir, script) |
158 | 159 | ||