Skip to contentSkip to conversation

Document all five "*-pkgs" valid image features.

PATCH New Robert P. J. Day 1 participant 1 message Jul 15, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Document all five "*-pkgs" valid image features.

Make sure both bitbake.conf and local.conf,sample list all five valid "*-pkgs" forms of IMAGE_FEATURES.

---

given this at the top of populate_sdk_base.bbclass:

COMPLEMENTARY_GLOB[dev-pkgs] = '*-dev' COMPLEMENTARY_GLOB[staticdev-pkgs] = '*-staticdev' COMPLEMENTARY_GLOB[doc-pkgs] = '*-doc' COMPLEMENTARY_GLOB[dbg-pkgs] = '*-dbg' COMPLEMENTARY_GLOB[ptest-pkgs] = '*-ptest'

i thought it would be worth adding the missing entries to the lists below.

meta/classes/core-image.bbclass +2 -0
index 1b36cba..0972d1a 100644
@@ -28,8 +28,10 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d
 # - package-management  - installs package management tools and preserves the package manager database
 # - debug-tweaks        - makes an image suitable for development, e.g. allowing passwordless root logins
 # - dev-pkgs            - development packages (headers, etc.) for all installed packages in the rootfs
+# - staticdev-pkgs      - static versions of development packages
 # - dbg-pkgs            - debug symbol packages for all installed packages in the rootfs
 # - doc-pkgs            - documentation packages for all installed packages in the rootfs
+# - ptest-pkgs          - package test files for ptest-enabled packages
 # - read-only-rootfs    - tweaks an image to support read-only rootfs
 #
 FEATURE_PACKAGES_x11 = "packagegroup-core-x11"
meta/conf/local.conf.sample +2 -0
index d64ba7f..61db873 100644
@@ -123,6 +123,8 @@ PACKAGE_CLASSES ?= "package_ipk"
 #                     (adds symbol information for debugging/profiling)
 #  "dev-pkgs"       - add -dev packages for all installed packages
 #                     (useful if you want to develop against libs in the image)
+#  "staticdev-pkgs" - add -staticdev packages for all installed packages
+#  "doc-pkgs"       - add -doc packages for all installed packages
 #  "ptest-pkgs"     - add -ptest packages for all ptest-enabled packages
 #                     (useful if you want to run the package test suites)
 #  "tools-sdk"      - add development tools (gcc, make, pkgconfig etc.)
Signature · 7 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================