summaryrefslogtreecommitdiffstats
path: root/documentation/profile-manual
diff options
context:
space:
mode:
authorAntonin Godard <antonin.godard@bootlin.com>2024-12-20 13:16:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-12-28 10:57:47 +0000
commitabef9b08dc1e8de7c4088d982641a2784b98f378 (patch)
treeea32f4068107dc2bea17d2001e88120884eec37a /documentation/profile-manual
parente4c4208d126c133f8b36b6add5d917830237d5bc (diff)
downloadpoky-abef9b08dc1e8de7c4088d982641a2784b98f378.tar.gz
Remove debug-tweaks references
We no longer provide this feature, so remove documentation for it. In most cases, we can replace occurrences of "debug-tweaks" by "allow-empty-password empty-root-password allow-root-login post-install-logging" to achieve what this feature previously enabled. Subtle, but the default local.conf does not include post-install-logging, so in parts where there is mention of the default local.conf file, adjust the documentation to only mention the first three above. In the intro manual, instead of providing instructions that replace EXTRA_IMAGE_FEATURES entirely, provide ones that append EXTRA_IMAGE_FEATURES. (From yocto-docs rev: f0efd4c7df91863304b92514664bdd1fa62b1fbb) Signed-off-by: Antonin Godard <antonin.godard@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/profile-manual')
-rw-r--r--documentation/profile-manual/intro.rst4
-rw-r--r--documentation/profile-manual/usage.rst2
2 files changed, 3 insertions, 3 deletions
diff --git a/documentation/profile-manual/intro.rst b/documentation/profile-manual/intro.rst
index 86310cf318..3179125524 100644
--- a/documentation/profile-manual/intro.rst
+++ b/documentation/profile-manual/intro.rst
@@ -43,7 +43,7 @@ an ``sdk`` image, perhaps one of::
43Alternatively, you can add ``tools-profile`` to the :term:`EXTRA_IMAGE_FEATURES` line in 43Alternatively, you can add ``tools-profile`` to the :term:`EXTRA_IMAGE_FEATURES` line in
44your ``local.conf`` file:: 44your ``local.conf`` file::
45 45
46 EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile" 46 EXTRA_IMAGE_FEATURES:append = " tools-profile"
47 47
48If you use the ``tools-profile`` method, you don't need to build an sdk image --- 48If you use the ``tools-profile`` method, you don't need to build an sdk image ---
49the tracing and profiling tools will be included in non-sdk images as well e.g.:: 49the tracing and profiling tools will be included in non-sdk images as well e.g.::
@@ -69,7 +69,7 @@ packages (xxx-dbg) which you can manually install as needed.
69To generate debug info for packages, you can add ``dbg-pkgs`` to 69To generate debug info for packages, you can add ``dbg-pkgs`` to
70:term:`EXTRA_IMAGE_FEATURES` in ``local.conf``. For example:: 70:term:`EXTRA_IMAGE_FEATURES` in ``local.conf``. For example::
71 71
72 EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile dbg-pkgs" 72 EXTRA_IMAGE_FEATURES:append = " dbg-pkgs"
73 73
74Additionally, in order to generate the right type of debug info, we also need to 74Additionally, in order to generate the right type of debug info, we also need to
75set :term:`PACKAGE_DEBUG_SPLIT_STYLE` in the ``local.conf`` file:: 75set :term:`PACKAGE_DEBUG_SPLIT_STYLE` in the ``local.conf`` file::
diff --git a/documentation/profile-manual/usage.rst b/documentation/profile-manual/usage.rst
index 17be149580..d17b256d0f 100644
--- a/documentation/profile-manual/usage.rst
+++ b/documentation/profile-manual/usage.rst
@@ -308,7 +308,7 @@ install the debugging information for the BusyBox package.
308To generate the debug info for the packages in the image, we can add 308To generate the debug info for the packages in the image, we can add
309``dbg-pkgs`` to :term:`EXTRA_IMAGE_FEATURES` in ``local.conf``. For example:: 309``dbg-pkgs`` to :term:`EXTRA_IMAGE_FEATURES` in ``local.conf``. For example::
310 310
311 EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile dbg-pkgs" 311 EXTRA_IMAGE_FEATURES:append = " dbg-pkgs"
312 312
313Additionally, in order to generate the type of debugging information that perf 313Additionally, in order to generate the type of debugging information that perf
314understands, we also need to set :term:`PACKAGE_DEBUG_SPLIT_STYLE` 314understands, we also need to set :term:`PACKAGE_DEBUG_SPLIT_STYLE`