]> code.ossystems Code Review - openembedded-core.git/commit
package: Ensure do_packagedata is cleaned correctly
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Feb 2021 14:22:13 +0000 (14:22 +0000)
committerSteve Sakoman <steve@sakoman.com>
Thu, 4 Feb 2021 14:57:53 +0000 (04:57 -1000)
commit4c4775d3e8ab132995ce4b69fab7abef8bff4a4f
treef8c356ff02789b71d0ec6863745bd83ba6930a8c
parent0c28edf4bf0d2f92bf3a47406041c63acd90bacf
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 50f17d0a655a3a2556f9fcad67259101c2814a36)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/package.bbclass