diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-22 12:25:44 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-24 15:18:54 +0100 |
| commit | b605bf9a32f53cc835aba2fa85953b82af58fbdc (patch) | |
| tree | 37017a8405702320073435735af1c8385a466bf0 | |
| parent | 3ad0baf6fd1ad046080602c4c080bd8ba7099f7c (diff) | |
| download | poky-b605bf9a32f53cc835aba2fa85953b82af58fbdc.tar.gz | |
insane: Ensure package_qa tasks run in builds when expected
Currently, if you "bitbake XXX" and XXX depends on something else,
the do_package_qa teask for that something may not run. Users would
generally expect it to have though.
Add in the missing dependency to ensure that do_build does trigger
the right package_qa tasks.
(From OE-Core rev: e0beb64c6d3cf1d649f79a8704fb25cdf83b4a8b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/classes-global/insane.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass index d97f21f8fd..47c8b9be10 100644 --- a/meta/classes-global/insane.bbclass +++ b/meta/classes-global/insane.bbclass | |||
| @@ -1192,6 +1192,8 @@ do_package_qa[vardepsexclude] = "BB_TASKDEPDATA" | |||
| 1192 | do_package_qa[rdeptask] = "do_packagedata" | 1192 | do_package_qa[rdeptask] = "do_packagedata" |
| 1193 | addtask do_package_qa after do_packagedata do_package before do_build | 1193 | addtask do_package_qa after do_packagedata do_package before do_build |
| 1194 | 1194 | ||
| 1195 | do_build[rdeptask] += "do_package_qa" | ||
| 1196 | |||
| 1195 | # Add the package specific INSANE_SKIPs to the sstate dependencies | 1197 | # Add the package specific INSANE_SKIPs to the sstate dependencies |
| 1196 | python() { | 1198 | python() { |
| 1197 | pkgs = (d.getVar('PACKAGES') or '').split() | 1199 | pkgs = (d.getVar('PACKAGES') or '').split() |
