diff options
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 28 |
1 files changed, 5 insertions, 23 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 81a47ff4a1..ae11860320 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml | |||
@@ -2983,29 +2983,11 @@ | |||
2983 | 2983 | ||
2984 | <para> | 2984 | <para> |
2985 | To eliminate all the packaging requirements for an image, | 2985 | To eliminate all the packaging requirements for an image, |
2986 | follow these steps: | 2986 | be sure that "package-management" is not part of your |
2987 | <orderedlist> | 2987 | <ulink url='&YOCTO_DOCS_REF_URL;#var-IMAGE_FEATURES'><filename>IMAGE_FEATURES</filename></ulink> |
2988 | <listitem><para>Put the following line in your main | 2988 | statement for the image. |
2989 | recipe for the image to remove package management | 2989 | When you remove this feature, you are removing the package |
2990 | data files: | 2990 | manager as well as its dependencies from the root filesystem. |
2991 | <literallayout class='monospaced'> | ||
2992 | ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; | ||
2993 | </literallayout> | ||
2994 | For example, the recipe for the | ||
2995 | <filename>core-image-minimal</filename> image contains | ||
2996 | this line. | ||
2997 | You can also add the line to the | ||
2998 | <filename>local.conf</filename> configuration file. | ||
2999 | </para></listitem> | ||
3000 | <listitem><para>Be sure that "package-management" is not | ||
3001 | part of your | ||
3002 | <ulink url='&YOCTO_DOCS_REF_URL;#var-IMAGE_FEATURES'><filename>IMAGE_FEATURES</filename></ulink> | ||
3003 | statement for the image. | ||
3004 | When you remove this feature, you are removing the | ||
3005 | package manager as well as its dependencies | ||
3006 | from the root filesystem. | ||
3007 | </para></listitem> | ||
3008 | </orderedlist> | ||
3009 | </para> | 2991 | </para> |
3010 | </section> | 2992 | </section> |
3011 | 2993 | ||