summaryrefslogtreecommitdiffstats
path: root/meta/classes/core-image.bbclass
diff options
context:
space:
mode:
authorMike Crowe <mac@mcrowe.com>2021-07-12 16:35:58 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-13 14:27:53 +0100
commit72e4483f127c6065c487f550765ed18e72183ff3 (patch)
tree90a1507d5ad6e4a4a16d178d51ab290d6c0302df /meta/classes/core-image.bbclass
parentb59f420deaf15fe20a2bc7ee4edef698f5592f44 (diff)
downloadpoky-72e4483f127c6065c487f550765ed18e72183ff3.tar.gz
licence_image: Add lic-pkgs IMAGE_FEATURE
Installing license packages is similar to installing -dev or -dbg packages, so let's invent a "lic-pkgs" IMAGE_FEATURE that does so and document it in core-image.bbclass. This image feature only works if LICENSE_CREATE_PACKAGE is set, so refuse to generate an image if the lic-pkgs feature is enabled without LICENSE_CREATE_PACKAGE. (From OE-Core rev: eee8179f5b920d3f8907db23cbc061ed6770a02a) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/core-image.bbclass')
-rw-r--r--meta/classes/core-image.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/core-image.bbclass b/meta/classes/core-image.bbclass
index d81f68bd2e..84fd3eeb38 100644
--- a/meta/classes/core-image.bbclass
+++ b/meta/classes/core-image.bbclass
@@ -31,6 +31,8 @@
31# - post-install-logging 31# - post-install-logging
32# - dev-pkgs - development packages (headers, etc.) for all installed packages in the rootfs 32# - dev-pkgs - development packages (headers, etc.) for all installed packages in the rootfs
33# - dbg-pkgs - debug symbol packages for all installed packages in the rootfs 33# - dbg-pkgs - debug symbol packages for all installed packages in the rootfs
34# - lic-pkgs - license packages for all installed pacakges in the rootfs, requires
35# LICENSE_CREATE_PACKAGE="1" to be set when building packages too
34# - doc-pkgs - documentation packages for all installed packages in the rootfs 36# - doc-pkgs - documentation packages for all installed packages in the rootfs
35# - bash-completion-pkgs - bash-completion packages for recipes using bash-completion bbclass 37# - bash-completion-pkgs - bash-completion packages for recipes using bash-completion bbclass
36# - ptest-pkgs - ptest packages for all ptest-enabled recipes 38# - ptest-pkgs - ptest packages for all ptest-enabled recipes