From: Peter Kjellerstedt Date: Mon, 14 Mar 2022 14:16:46 +0000 (+0100) Subject: package.bbclass: Remove an unnecessary path from do_package[dirs] X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~4824 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d2dac56deda5afa4d77c5ddd7e1e8003f6d4725;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git package.bbclass: Remove an unnecessary path from do_package[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]). Signed-off-by: Peter Kjellerstedt Signed-off-by: Richard Purdie --- diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index f8222581502..e71daafe946 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass @@ -2464,7 +2464,7 @@ python do_package () { oe.qa.exit_if_errors(d) } -do_package[dirs] = "${SHLIBSWORKDIR} ${PKGDESTWORK} ${D}" +do_package[dirs] = "${SHLIBSWORKDIR} ${D}" do_package[vardeps] += "${PACKAGEBUILDPKGD} ${PACKAGESPLITFUNCS} ${PACKAGEFUNCS} ${@gen_packagevar(d)}" addtask package after do_install