summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2022-03-14 15:16:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-15 08:40:09 +0000
commitd081a760630e85ed7b69d0047c83e35a459523f0 (patch)
tree2e004f4eaa310da00c546b2056e1fee30d869dfe /meta/classes/image.bbclass
parent4cced6ceb07511dbe63751cb784f51f842b322d7 (diff)
downloadpoky-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/image.bbclass')
-rw-r--r--meta/classes/image.bbclass2
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}
255do_rootfs[dirs] = "${IMAGE_ROOTFS} ${IMGDEPLOYDIR} ${TOPDIR}" 255do_rootfs[dirs] = "${TOPDIR}"
256do_rootfs[cleandirs] += "${IMAGE_ROOTFS} ${IMGDEPLOYDIR} ${S}" 256do_rootfs[cleandirs] += "${IMAGE_ROOTFS} ${IMGDEPLOYDIR} ${S}"
257do_rootfs[file-checksums] += "${POSTINST_INTERCEPT_CHECKSUMS}" 257do_rootfs[file-checksums] += "${POSTINST_INTERCEPT_CHECKSUMS}"
258addtask rootfs after do_prepare_recipe_sysroot 258addtask rootfs after do_prepare_recipe_sysroot