Skip to contentSkip to conversation

local.conf.sample: update IMAGE_FEATURES comments to remove debug-tweaks

PATCH Superseded Ross Burton 2 participants 3 messages Nov 7, 2024

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 local.conf.sample: update IMAGE_FEATURES comments to remove debug-tweaks

Remove debug-tweaks and add the features that it included.

---
 .../conf/templates/default/local.conf.sample  | 36 +++++++++----------
 1 file changed, 18 insertions(+), 18 deletions(-)
meta-poky/conf/templates/default/local.conf.sample +18 -18
index cfa77106ab3..02aa3f238f2 100644
@@ -125,24 +125,24 @@ DISTRO ?= "poky"
 # Extra image configuration defaults
 #
 # The EXTRA_IMAGE_FEATURES variable allows extra packages to be added to the generated
-# images. Some of these options are added to certain image types automatically. The
-# variable can contain the following options:
-#  "dbg-pkgs"       - add -dbg packages for all installed packages
-#                     (adds symbol information for debugging/profiling)
-#  "src-pkgs"       - add -src packages for all installed packages
-#                     (adds source code for debugging)
-#  "dev-pkgs"       - add -dev packages for all installed packages
-#                     (useful if you want to develop against libs in the image)
-#  "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.)
-#  "tools-debug"    - add debugging tools (gdb, strace)
-#  "eclipse-debug"  - add Eclipse remote debugging support
-#  "tools-profile"  - add profiling tools (oprofile, lttng, valgrind)
-#  "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.)
-#  "debug-tweaks"   - make an image suitable for development
-#                     e.g. ssh root access has a blank password
-# There are other application targets that can be used here too, see
+# images. Some of these options are added to certain image types automatically. Some
+# of the features available are:
+#  "dbg-pkgs"             - add -dbg packages for all installed packages
+#                           (adds symbol information for debugging/profiling)
+#  "src-pkgs"             - add -src packages for all installed packages
+#                           (adds source code for debugging)
+#  "dev-pkgs"             - add -dev packages for all installed packages
+#                           (useful if you want to develop against libs in the image)
+#  "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.)
+#  "tools-debug"          - add debugging tools (gdb, strace)
+#  "tools-profile"        - add profiling tools (oprofile, lttng, valgrind)
+#  "tools-testapps"       - add useful testing tools (ts_print, aplay, arecord etc.)
+#  "allow-empty-password" - allow users to have an empty password
+#  "empty-root-password"  - the root user has no password set
+#  "allow-root-login      - the root user can login
+# There are other features that can be used here too, see
 # meta/classes-recipe/image.bbclass and
 # meta/classes-recipe/core-image.bbclass for more details.
 # We default to allowing root login without a password for convenience.
Signature · 1 line
2.34.1
#1 lore raw

Hi Ross,

Quoted 18 lines · Ross Burton

Remove debug-tweaks and add the features that it included.

---
 .../conf/templates/default/local.conf.sample  | 36 +++++++++----------
 1 file changed, 18 insertions(+), 18 deletions(-)
meta-poky/conf/templates/default/local.conf.sample +0 -3
index cfa77106ab3..02aa3f238f2 100644
@@ -125,24 +125,24 @@ DISTRO ?= "poky"
 # Extra image configuration defaults
 #
 # The EXTRA_IMAGE_FEATURES variable allows extra packages to be added to the generated
-# images. Some of these options are added to certain image types automatically. The
-# variable can contain the following options:
-#  "dbg-pkgs"       - add -dbg packages for all installed packages

meta-poky/conf/templates/default/local.conf.sample DISTRO ?= "poky" · line 140

Quoted 10 lines
meta-poky/conf/templates/default/local.conf.sample +0 -10
-#                     (adds symbol information for debugging/profiling)
-#  "src-pkgs"       - add -src packages for all installed packages
-#                     (adds source code for debugging)
-#  "dev-pkgs"       - add -dev packages for all installed packages
-#                     (useful if you want to develop against libs in the image)
-#  "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.)
-#  "tools-debug"    - add debugging tools (gdb, strace)
-#  "eclipse-debug"  - add Eclipse remote debugging support

the patch removes "eclipse-debug" as well. Was that intended?

Best regards
Ulrich

Quoted 26 lines
meta-poky/conf/templates/default/local.conf.sample +18 -5
-#  "tools-profile"  - add profiling tools (oprofile, lttng, valgrind)
-#  "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.)
-#  "debug-tweaks"   - make an image suitable for development
-#                     e.g. ssh root access has a blank password
-# There are other application targets that can be used here too, see
+# images. Some of these options are added to certain image types automatically. Some
+# of the features available are:
+#  "dbg-pkgs"             - add -dbg packages for all installed packages
+#                           (adds symbol information for debugging/profiling)
+#  "src-pkgs"             - add -src packages for all installed packages
+#                           (adds source code for debugging)
+#  "dev-pkgs"             - add -dev packages for all installed packages
+#                           (useful if you want to develop against libs in the image)
+#  "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.)
+#  "tools-debug"          - add debugging tools (gdb, strace)
+#  "tools-profile"        - add profiling tools (oprofile, lttng, valgrind)
+#  "tools-testapps"       - add useful testing tools (ts_print, aplay, arecord etc.)
+#  "allow-empty-password" - allow users to have an empty password
+#  "empty-root-password"  - the root user has no password set
+#  "allow-root-login      - the root user can login
+# There are other features that can be used here too, see
 # meta/classes-recipe/image.bbclass and
 # meta/classes-recipe/core-image.bbclass for more details.
 # We default to allowing root login without a password for convenience.
Signature · 4 lines
Pengutronix e.K.                           | Ulrich Ölmann               |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
#2 lore raw
Quoted 2 lines · Ulrich Ölmann

the patch removes "eclipse-debug" as well. Was that intended?

No, well spotted. Copy-paste mistake, I think.

Ross