diff options
author | Ming Liu <liu.ming50@gmail.com> | 2022-03-12 12:53:03 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-13 12:23:48 +0000 |
commit | bbc60671ade0bf84d934abb807cdce1f37f76804 (patch) | |
tree | 344a26c1a588cbfae423060142b3079357548082 /meta/lib/oe/rootfs.py | |
parent | 10610aa80ebd07e1d239974bc2b407a7322164c2 (diff) | |
download | poky-bbc60671ade0bf84d934abb807cdce1f37f76804.tar.gz |
image.bbclass: make sure do_rootfs run from a clean workspace
Add ${IMAGE_ROOTFS} and ${IMGDEPLOYDIR} to do_rootfs[dirs] and
do_rootfs[cleandirs], this ensures do_rootfs run from a clean
workspace, with this change, we can now remove two bb.utils.mkdirhier
lines from meta/lib/oe/rootfs.py.
(From OE-Core rev: cb8b6f7eee4e059bb311330c57068e11bc477366)
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/rootfs.py')
-rw-r--r-- | meta/lib/oe/rootfs.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/lib/oe/rootfs.py b/meta/lib/oe/rootfs.py index b0dd625539..98cf3f244d 100644 --- a/meta/lib/oe/rootfs.py +++ b/meta/lib/oe/rootfs.py | |||
@@ -190,10 +190,6 @@ class Rootfs(object, metaclass=ABCMeta): | |||
190 | post_process_cmds = self.d.getVar("ROOTFS_POSTPROCESS_COMMAND") | 190 | post_process_cmds = self.d.getVar("ROOTFS_POSTPROCESS_COMMAND") |
191 | rootfs_post_install_cmds = self.d.getVar('ROOTFS_POSTINSTALL_COMMAND') | 191 | rootfs_post_install_cmds = self.d.getVar('ROOTFS_POSTINSTALL_COMMAND') |
192 | 192 | ||
193 | bb.utils.mkdirhier(self.image_rootfs) | ||
194 | |||
195 | bb.utils.mkdirhier(self.deploydir) | ||
196 | |||
197 | execute_pre_post_process(self.d, pre_process_cmds) | 193 | execute_pre_post_process(self.d, pre_process_cmds) |
198 | 194 | ||
199 | if self.progress_reporter: | 195 | if self.progress_reporter: |