]> code.ossystems Code Review - openembedded-core.git/commitdiff
image.bbclass: Remove two unnecessary paths from do_rootfs[dirs]
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Mon, 14 Mar 2022 14:16:45 +0000 (15:16 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 15 Mar 2022 08:38:28 +0000 (08:38 +0000)
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]).

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass

index eb192057c2e456a266e747ca9d2339ce25d5d1e9..7f1f6f80a464dd93d3f0ce6e5e07e734817bd115 100644 (file)
@@ -252,7 +252,7 @@ fakeroot python do_rootfs () {
 
     progress_reporter.finish()
 }
-do_rootfs[dirs] = "${IMAGE_ROOTFS} ${IMGDEPLOYDIR} ${TOPDIR}"
+do_rootfs[dirs] = "${TOPDIR}"
 do_rootfs[cleandirs] += "${IMAGE_ROOTFS} ${IMGDEPLOYDIR} ${S}"
 do_rootfs[file-checksums] += "${POSTINST_INTERCEPT_CHECKSUMS}"
 addtask rootfs after do_prepare_recipe_sysroot