diff options
| author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2014-01-13 11:33:00 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 11:53:39 +0000 |
| commit | aaa92a67d8b78df548d5170f76b8f790b68812d3 (patch) | |
| tree | b474e9203bb953f3d05b682eb4a78420270218af /meta | |
| parent | f52391a919ec4969d3a0254513d4e0c971dd611f (diff) | |
| download | poky-aaa92a67d8b78df548d5170f76b8f790b68812d3.tar.gz | |
image.bbclass, lib/oe/rootfs.py: remove intercept_scripts directory
Remove the directory, manually, in the Rootfs.create() function.
(From OE-Core rev: 37a9dc05272e7e49c8a475ccb3d10880dcee4763)
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/classes/image.bbclass | 2 | ||||
| -rw-r--r-- | meta/lib/oe/rootfs.py | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index ffe05c9040..af3f868be2 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
| @@ -178,7 +178,7 @@ PSEUDO_PASSWD = "${IMAGE_ROOTFS}" | |||
| 178 | 178 | ||
| 179 | do_rootfs[dirs] = "${TOPDIR}" | 179 | do_rootfs[dirs] = "${TOPDIR}" |
| 180 | do_rootfs[lockfiles] += "${IMAGE_ROOTFS}.lock" | 180 | do_rootfs[lockfiles] += "${IMAGE_ROOTFS}.lock" |
| 181 | do_rootfs[cleandirs] += "${S} ${WORKDIR}/intercept_scripts" | 181 | do_rootfs[cleandirs] += "${S}" |
| 182 | 182 | ||
| 183 | # Must call real_do_rootfs() from inside here, rather than as a separate | 183 | # Must call real_do_rootfs() from inside here, rather than as a separate |
| 184 | # task, so that we have a single fakeroot context for the whole process. | 184 | # task, so that we have a single fakeroot context for the whole process. |
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): | |||
| 76 | intercepts_dir = os.path.join(self.d.getVar('WORKDIR', True), | 76 | intercepts_dir = os.path.join(self.d.getVar('WORKDIR', True), |
| 77 | "intercept_scripts") | 77 | "intercept_scripts") |
| 78 | 78 | ||
| 79 | bb.utils.remove(intercepts_dir, True) | ||
| 80 | |||
| 79 | bb.utils.mkdirhier(self.image_rootfs) | 81 | bb.utils.mkdirhier(self.image_rootfs) |
| 80 | 82 | ||
| 81 | bb.utils.mkdirhier(self.deploy_dir_image) | 83 | bb.utils.mkdirhier(self.deploy_dir_image) |
