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:50:30 +0000 |
commit | 3d37dcdb836b59d8a7f880ce22d06760eb8af232 (patch) | |
tree | 5984a4d6781bbe6eefa43028f72e4e7cf2f026f0 | |
parent | 41d6edab676277afbcaa6cf41cd64a5663f09dc7 (diff) | |
download | openembedded-core-3d37dcdb836b59d8a7f880ce22d06760eb8af232.tar.gz openembedded-core-3d37dcdb836b59d8a7f880ce22d06760eb8af232.tar.bz2 openembedded-core-3d37dcdb836b59d8a7f880ce22d06760eb8af232.zip |
lib/oe/rootfs.py: fix invoking _run_intercepts failed
- The variable D is needed by intercepts scripts;
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
-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): "intercept_scripts") bb.note("Running intercept scripts:") + os.environ['D'] = self.image_rootfs for script in os.listdir(intercepts_dir): script_full = os.path.join(intercepts_dir, script) |