summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-03 14:22:13 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-11 17:46:12 +0000
commit0003ed2b1c286f16bbe171c2e28ab5777f82d251 (patch)
tree0c28ed8dee861f79f2b82cd980c01fdfc5f16e53 /meta
parent1d3cd3c2a5902f2b31e385c54730d689755b18a6 (diff)
downloadpoky-0003ed2b1c286f16bbe171c2e28ab5777f82d251.tar.gz
package: Ensure do_packagedata is cleaned correctly
In an earlier commit, libprocps was split into a separate package leaving no shlibs in the main package. A bug was seen where igt-gpu-tools wouldn't build correctly in some cases as it thought the librbary was still in the main package, throwing qa errors as a result. The issue was due to an extra file being left in the sstate output of the do_packagedata task in the shlibs2/ folder which contained the bad shlibs information. The reason for this was that the temporary directory used in this task wasn't being cleaned so files which were deleted were not handled correctly. Add a missing cleandirs entry to fix this. (From OE-Core rev: 68e17e21f59fcf763877b350cc2a1494b5f1bd91) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 50f17d0a655a3a2556f9fcad67259101c2814a36) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index 247bdc7bbf..5a32e5c2e3 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -2446,6 +2446,7 @@ python do_packagedata () {
2446 2446
2447 bb.build.exec_func("packagedata_translate_pr_autoinc", d) 2447 bb.build.exec_func("packagedata_translate_pr_autoinc", d)
2448} 2448}
2449do_packagedata[cleandirs] += "${WORKDIR}/pkgdata-pdata-input"
2449 2450
2450# Translate the EXTENDPRAUTO and AUTOINC to the final values 2451# Translate the EXTENDPRAUTO and AUTOINC to the final values
2451packagedata_translate_pr_autoinc() { 2452packagedata_translate_pr_autoinc() {