diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2015-02-12 09:35:02 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-17 15:17:03 +0000 |
commit | 6d17aa00f9fe6bd1c00b383b8863c99be07e9d2c (patch) | |
tree | d2513e5549295bc40347ffeb717f01638c3106e2 | |
parent | f63a3b65fb413a5c0cae5fc99ff7be02481ddaa6 (diff) | |
download | poky-6d17aa00f9fe6bd1c00b383b8863c99be07e9d2c.tar.gz |
ref-manual: Added 'debug-tweaks' fragmentation.
The image feature 'debug-tweaks' has been fragmented into three
separate areas of functionality that deals with handling empty
passwords and post-installation logging. I updated the list of
image features appropriately and the description of 'debug-tweaks'
in the EXTRA_IMAGE_FEATURES variable.
Fixes [YOCTO #5344]
(From yocto-docs rev: ce0ab20472a75049298287cd05109f6e091b80bd)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/ref-manual/ref-features.xml | 24 | ||||
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 11 |
2 files changed, 30 insertions, 5 deletions
diff --git a/documentation/ref-manual/ref-features.xml b/documentation/ref-manual/ref-features.xml index 230cabd155..e1a8cde464 100644 --- a/documentation/ref-manual/ref-features.xml +++ b/documentation/ref-manual/ref-features.xml | |||
@@ -222,13 +222,23 @@ | |||
222 | <para> | 222 | <para> |
223 | The following image features are available for all images: | 223 | The following image features are available for all images: |
224 | <itemizedlist> | 224 | <itemizedlist> |
225 | <listitem><para><emphasis>allow-empty-password:</emphasis> | ||
226 | When 'debug-tweaks' is in | ||
227 | <link linkend='var-IMAGE_FEATURES'><filename>IMAGE_FEATURES</filename></link>, | ||
228 | runs <filename>ssh_allow_empty_password</filename>, | ||
229 | which allows Dropbear and OpenSSH to accept root logins | ||
230 | and logins from accounts having an empty password string. | ||
231 | </para></listitem> | ||
225 | <listitem><para><emphasis>dbg-pkgs:</emphasis> | 232 | <listitem><para><emphasis>dbg-pkgs:</emphasis> |
226 | Installs debug symbol packages for all packages installed | 233 | Installs debug symbol packages for all packages installed |
227 | in a given image. | 234 | in a given image. |
228 | </para></listitem> | 235 | </para></listitem> |
229 | <listitem><para><emphasis>debug-tweaks:</emphasis> | 236 | <listitem><para><emphasis>debug-tweaks:</emphasis> |
230 | Makes an image suitable for development (e.g. | 237 | Makes an image suitable for development (e.g. |
231 | allows root logins without passwords). | 238 | allows root logins without passwords and enables |
239 | post-installation logging). | ||
240 | See the 'allow-empty-password' and 'post-install-logging' | ||
241 | features in this list for additional information. | ||
232 | </para></listitem> | 242 | </para></listitem> |
233 | <listitem><para><emphasis>dev-pkgs:</emphasis> | 243 | <listitem><para><emphasis>dev-pkgs:</emphasis> |
234 | Installs development packages (headers and extra library | 244 | Installs development packages (headers and extra library |
@@ -238,10 +248,22 @@ | |||
238 | documentation packages for all packages installed in a | 248 | documentation packages for all packages installed in a |
239 | given image. | 249 | given image. |
240 | </para></listitem> | 250 | </para></listitem> |
251 | <listitem><para><emphasis>empty-root-password:</emphasis> | ||
252 | When 'debug-tweaks' is not in | ||
253 | <link linkend='var-IMAGE_FEATURES'><filename>IMAGE_FEATURES</filename></link>, | ||
254 | runs <filename>zap_empty_root_password</filename>, | ||
255 | which disallows an empty root password. | ||
256 | </para></listitem> | ||
241 | <listitem><para><emphasis>package-management:</emphasis> | 257 | <listitem><para><emphasis>package-management:</emphasis> |
242 | Installs package management tools and preserves the package | 258 | Installs package management tools and preserves the package |
243 | manager database. | 259 | manager database. |
244 | </para></listitem> | 260 | </para></listitem> |
261 | <listitem><para><emphasis>post-install-logging:</emphasis> | ||
262 | When 'debug-tweaks' is in | ||
263 | <link linkend='var-IMAGE_FEATURES'><filename>IMAGE_FEATURES</filename></link>, | ||
264 | runs <filename>postinst_enable_logging</filename>, which | ||
265 | enables post-installation logging. | ||
266 | </para></listitem> | ||
245 | <listitem><para><emphasis>ptest-pkgs:</emphasis> | 267 | <listitem><para><emphasis>ptest-pkgs:</emphasis> |
246 | Installs ptest packages for all ptest-enabled recipes. | 268 | Installs ptest packages for all ptest-enabled recipes. |
247 | </para></listitem> | 269 | </para></listitem> |
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 6ecfaf8f63..8f0d8917b5 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -3238,10 +3238,13 @@ meta/conf/machine/include/<architecture>/arch-<architecture>.inc | |||
3238 | including symbol information for debugging and | 3238 | including symbol information for debugging and |
3239 | profiling. | 3239 | profiling. |
3240 | 3240 | ||
3241 | "debug-tweaks" - Makes an image suitable for development. | 3241 | "debug-tweaks" - Makes an image suitable for debugging. |
3242 | For example, ssh root access has a blank | 3242 | For example, allows root logins without |
3243 | password. You should remove this feature | 3243 | passwords and enables post-installation |
3244 | before you produce a production image. | 3244 | logging. See the 'allow-empty-password' |
3245 | and 'post-install-logging' features in | ||
3246 | the "<link linkend='ref-features-image'>Image Features</link>" section for | ||
3247 | more information. | ||
3245 | 3248 | ||
3246 | "dev-pkgs" - Adds -dev packages for all installed packages. | 3249 | "dev-pkgs" - Adds -dev packages for all installed packages. |
3247 | This is useful if you want to develop against | 3250 | This is useful if you want to develop against |