summaryrefslogtreecommitdiffstats
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-10 23:55:53 +0000
commitc5488d7f2c6b494358a89bbab2a59e6772c1b9c3 (patch)
treec7f3f77ae21b43053abf7e20c48077f9a6aaeee7
parenta90e96977e60c2e04a05eada239b6f34c5403b58 (diff)
downloadpoky-c5488d7f2c6b494358a89bbab2a59e6772c1b9c3.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: 4c4775d3e8ab132995ce4b69fab7abef8bff4a4f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 50f17d0a655a3a2556f9fcad67259101c2814a36) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 f8074d866c..15bff9c778 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -2362,6 +2362,7 @@ python do_packagedata () {
2362 2362
2363 bb.build.exec_func("packagedata_translate_pr_autoinc", d) 2363 bb.build.exec_func("packagedata_translate_pr_autoinc", d)
2364} 2364}
2365do_packagedata[cleandirs] += "${WORKDIR}/pkgdata-pdata-input"
2365 2366
2366# Translate the EXTENDPRAUTO and AUTOINC to the final values 2367# Translate the EXTENDPRAUTO and AUTOINC to the final values
2367packagedata_translate_pr_autoinc() { 2368packagedata_translate_pr_autoinc() {