summaryrefslogtreecommitdiff
path: root/meta/lib
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2014-01-13 11:33:00 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-11 11:50:26 +0000
commit37a9dc05272e7e49c8a475ccb3d10880dcee4763 (patch)
tree29c9a081d32d602cf8416734546a73996a3fcda2 /meta/lib
parentd950ef40a3eae4b54cc62828e66d84a62d78c447 (diff)
downloadopenembedded-core-37a9dc05272e7e49c8a475ccb3d10880dcee4763.tar.gz
openembedded-core-37a9dc05272e7e49c8a475ccb3d10880dcee4763.tar.bz2
openembedded-core-37a9dc05272e7e49c8a475ccb3d10880dcee4763.zip
image.bbclass, lib/oe/rootfs.py: remove intercept_scripts directory
Remove the directory, manually, in the Rootfs.create() function. Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oe/rootfs.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py
index bada5ca467..2627bd71f0 100644
--- a/meta/lib/oe/rootfs.py
+++ b/meta/lib/oe/rootfs.py
@@ -76,6 +76,8 @@ class Rootfs(object):
intercepts_dir = os.path.join(self.d.getVar('WORKDIR', True),
"intercept_scripts")
+ bb.utils.remove(intercepts_dir, True)
+
bb.utils.mkdirhier(self.image_rootfs)
bb.utils.mkdirhier(self.deploy_dir_image)