diff options
author | Antonin Godard <antonin.godard@bootlin.com> | 2024-12-20 13:16:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-12-28 10:57:47 +0000 |
commit | abef9b08dc1e8de7c4088d982641a2784b98f378 (patch) | |
tree | ea32f4068107dc2bea17d2001e88120884eec37a /documentation/profile-manual | |
parent | e4c4208d126c133f8b36b6add5d917830237d5bc (diff) | |
download | poky-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.rst | 4 | ||||
-rw-r--r-- | documentation/profile-manual/usage.rst | 2 |
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:: | |||
43 | Alternatively, you can add ``tools-profile`` to the :term:`EXTRA_IMAGE_FEATURES` line in | 43 | Alternatively, you can add ``tools-profile`` to the :term:`EXTRA_IMAGE_FEATURES` line in |
44 | your ``local.conf`` file:: | 44 | your ``local.conf`` file:: |
45 | 45 | ||
46 | EXTRA_IMAGE_FEATURES = "debug-tweaks tools-profile" | 46 | EXTRA_IMAGE_FEATURES:append = " tools-profile" |
47 | 47 | ||
48 | If you use the ``tools-profile`` method, you don't need to build an sdk image --- | 48 | If you use the ``tools-profile`` method, you don't need to build an sdk image --- |
49 | the tracing and profiling tools will be included in non-sdk images as well e.g.:: | 49 | the 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. | |||
69 | To generate debug info for packages, you can add ``dbg-pkgs`` to | 69 | To 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 | ||
74 | Additionally, in order to generate the right type of debug info, we also need to | 74 | Additionally, in order to generate the right type of debug info, we also need to |
75 | set :term:`PACKAGE_DEBUG_SPLIT_STYLE` in the ``local.conf`` file:: | 75 | set :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. | |||
308 | To generate the debug info for the packages in the image, we can add | 308 | To 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 | ||
313 | Additionally, in order to generate the type of debugging information that perf | 313 | Additionally, in order to generate the type of debugging information that perf |
314 | understands, we also need to set :term:`PACKAGE_DEBUG_SPLIT_STYLE` | 314 | understands, we also need to set :term:`PACKAGE_DEBUG_SPLIT_STYLE` |