diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-11-25 09:01:00 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-03 12:53:21 +0000 |
commit | 5156a38f89d5e9af8081af095ac3785ea1a5b171 (patch) | |
tree | 1f9be775e42fe4d4befe85ed2b645290f62fdd4e | |
parent | 19e6f3f28b103518da123a32f9b59904532d3618 (diff) | |
download | poky-5156a38f89d5e9af8081af095ac3785ea1a5b171.tar.gz |
dev-manual: Updated how to remove package management requirements
This now involves only making sure that "packag-management" is not
part of your IMAGE_FEATURES statement for the image.
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: 9cb66c40677adc43088d22900fef58166ee8b508)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 | ||