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>
This commit is contained in:
parent
19e6f3f28b
commit
5156a38f89
|
@ -2983,29 +2983,11 @@
|
|||
|
||||
<para>
|
||||
To eliminate all the packaging requirements for an image,
|
||||
follow these steps:
|
||||
<orderedlist>
|
||||
<listitem><para>Put the following line in your main
|
||||
recipe for the image to remove package management
|
||||
data files:
|
||||
<literallayout class='monospaced'>
|
||||
ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ;
|
||||
</literallayout>
|
||||
For example, the recipe for the
|
||||
<filename>core-image-minimal</filename> image contains
|
||||
this line.
|
||||
You can also add the line to the
|
||||
<filename>local.conf</filename> configuration file.
|
||||
</para></listitem>
|
||||
<listitem><para>Be sure that "package-management" is not
|
||||
part of your
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-IMAGE_FEATURES'><filename>IMAGE_FEATURES</filename></ulink>
|
||||
statement for the image.
|
||||
When you remove this feature, you are removing the
|
||||
package manager as well as its dependencies
|
||||
from the root filesystem.
|
||||
</para></listitem>
|
||||
</orderedlist>
|
||||
be sure that "package-management" is not part of your
|
||||
<ulink url='&YOCTO_DOCS_REF_URL;#var-IMAGE_FEATURES'><filename>IMAGE_FEATURES</filename></ulink>
|
||||
statement for the image.
|
||||
When you remove this feature, you are removing the package
|
||||
manager as well as its dependencies from the root filesystem.
|
||||
</para>
|
||||
</section>
|
||||
|
||||
|
|
Loading…
Reference in New Issue