diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2022-03-14 15:16:45 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-15 08:40:09 +0000 |
commit | d081a760630e85ed7b69d0047c83e35a459523f0 (patch) | |
tree | 2e004f4eaa310da00c546b2056e1fee30d869dfe /meta/classes | |
parent | 4cced6ceb07511dbe63751cb784f51f842b322d7 (diff) | |
download | poky-d081a760630e85ed7b69d0047c83e35a459523f0.tar.gz |
image.bbclass: Remove two unnecessary paths from do_rootfs[dirs]
There is no reason to include a path in foo[dirs] if it is also in
foo[cleandirs] (except if it is the last path in foo[dirs]).
(From OE-Core rev: d76a31a37c3b2253a6a8fdffd8581fc88987857d)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index eb192057c2..7f1f6f80a4 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -252,7 +252,7 @@ fakeroot python do_rootfs () { | |||
252 | 252 | ||
253 | progress_reporter.finish() | 253 | progress_reporter.finish() |
254 | } | 254 | } |
255 | do_rootfs[dirs] = "${IMAGE_ROOTFS} ${IMGDEPLOYDIR} ${TOPDIR}" | 255 | do_rootfs[dirs] = "${TOPDIR}" |
256 | do_rootfs[cleandirs] += "${IMAGE_ROOTFS} ${IMGDEPLOYDIR} ${S}" | 256 | do_rootfs[cleandirs] += "${IMAGE_ROOTFS} ${IMGDEPLOYDIR} ${S}" |
257 | do_rootfs[file-checksums] += "${POSTINST_INTERCEPT_CHECKSUMS}" | 257 | do_rootfs[file-checksums] += "${POSTINST_INTERCEPT_CHECKSUMS}" |
258 | addtask rootfs after do_prepare_recipe_sysroot | 258 | addtask rootfs after do_prepare_recipe_sysroot |