From 55f362e47f5a7f18ec78c800f68e4b9f3cfc7850 Mon Sep 17 00:00:00 2001 From: Esben Haabendal <esben.haabendal@huawei.com> Date: Thu, 28 Apr 2022 10:38:11 +0200 Subject: [PATCH] local.conf.sample: Set default configuration to enable debug-tweaks This gives password-less root account by default. Good for development, and guarantees zero security. Signed-off-by: Esben Haabendal <esben.haabendal@huawei.com> --- conf/local.conf.sample | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/conf/local.conf.sample b/conf/local.conf.sample index d09a4186..24082fb5 100644 --- a/conf/local.conf.sample +++ b/conf/local.conf.sample @@ -40,6 +40,32 @@ MACHINE ??= "qemuarma7" # DISTRO ?= "oniro-openharmony-linux" +# +# 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 +# meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details. +# We default to enabling the debugging tweaks. +EXTRA_IMAGE_FEATURES ?= "debug-tweaks" + # # Parallelism Options # -- GitLab