diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2024-08-16 21:37:52 +0200 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2024-10-11 05:47:38 -0700 |
| commit | a3987f60dfd788f16f75f4aa7a7a61aff3861488 (patch) | |
| tree | 3b980b41a7df73e634cb98124d1fa78a1725cc1c | |
| parent | 92d7f055c4c324fd6e0a94c92c9321441f2d258b (diff) | |
| download | poky-a3987f60dfd788f16f75f4aa7a7a61aff3861488.tar.gz | |
populate_sdk_base: inherit nopackages
Since this bbclass sets PACKAGES = "", inherit the nopackages
class to skip the various packaging functions which wouldn't
do anything anyway.
This fixes errors from buildhistory changes where packages-split would be empty.
e.g. meta-toolchain build now fails with:
| DEBUG: Executing shell function buildhistory_list_pkg_files
| find: ".../meta-toolchain/1.0/packages-split/*": No such file or directory
| WARNING: exit code 1 from a shell command.
| DEBUG: Python function buildhistory_emit_pkghistory finished
(From OE-Core rev: 2462cceaeec362d85a469ec0668ed92a092e725c)
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Atharva Nandanwar <atharvanandanwar@outlook.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
| -rw-r--r-- | meta/classes-recipe/populate_sdk_base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes-recipe/populate_sdk_base.bbclass b/meta/classes-recipe/populate_sdk_base.bbclass index a103e7b738..5c738dbf2a 100644 --- a/meta/classes-recipe/populate_sdk_base.bbclass +++ b/meta/classes-recipe/populate_sdk_base.bbclass | |||
| @@ -13,7 +13,7 @@ PACKAGES = "" | |||
| 13 | # SDK processing context. This class happens to be common to these usages. | 13 | # SDK processing context. This class happens to be common to these usages. |
| 14 | SPDX_MULTILIB_SSTATE_ARCHS = "${@all_multilib_tune_values(d, 'SSTATE_ARCHS')}" | 14 | SPDX_MULTILIB_SSTATE_ARCHS = "${@all_multilib_tune_values(d, 'SSTATE_ARCHS')}" |
| 15 | 15 | ||
| 16 | inherit image-postinst-intercepts image-artifact-names | 16 | inherit image-postinst-intercepts image-artifact-names nopackages |
| 17 | 17 | ||
| 18 | # Wildcards specifying complementary packages to install for every package that has been explicitly | 18 | # Wildcards specifying complementary packages to install for every package that has been explicitly |
| 19 | # installed into the rootfs | 19 | # installed into the rootfs |
