diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2024-08-16 21:37:52 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-08-20 11:55:36 +0100 |
commit | 93f194acc1d672ebe87f229512c3d643139b71a0 (patch) | |
tree | 839f5525c27705d58f4d6063a9cfcb35f4c9c940 /meta | |
parent | f0b62cf9a8f4be863b4658b8c914c42369638d37 (diff) | |
download | poky-93f194acc1d672ebe87f229512c3d643139b71a0.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: 29ac598c4f754ce5cee59d3360612f661ad02191)
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 2f6e7b4076..16013d5872 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 |