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-03 21:45:49 +0000
commitc2f2963623095e8b11d9179085544075c0a10f17 (patch)
tree58312b62f9a41cc4ed80deabdaa087451f179731 /meta
parentff21f42cf0afc46cc8738fee10c5df66158cd952 (diff)
downloadpoky-c2f2963623095e8b11d9179085544075c0a10f17.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: 50f17d0a655a3a2556f9fcad67259101c2814a36) 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 a77d532b66..417e225297 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -2452,6 +2452,7 @@ python do_packagedata () {
2452 2452
2453 bb.build.exec_func("packagedata_translate_pr_autoinc", d) 2453 bb.build.exec_func("packagedata_translate_pr_autoinc", d)
2454} 2454}
2455do_packagedata[cleandirs] += "${WORKDIR}/pkgdata-pdata-input"
2455 2456
2456# Translate the EXTENDPRAUTO and AUTOINC to the final values 2457# Translate the EXTENDPRAUTO and AUTOINC to the final values
2457packagedata_translate_pr_autoinc() { 2458packagedata_translate_pr_autoinc() {