From b637518909f454a88b946de4eae3720efe3b8647 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 7 May 2013 17:33:52 +0300 Subject: dev-manual: Created new section to remove packaging requirements Fixes YOCTO #1706 Added a new subsection to the section that talks about making a tiny system. The subject matter fits in with reducing a kernel image size. (From yocto-docs rev: 51eb79b88794beaefcb88a4408714a88c9126b2b) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../dev-manual/dev-manual-common-tasks.xml | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) (limited to 'documentation') diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index e6696319ec..9e8ee73fe0 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -2804,6 +2804,44 @@ +
+ Remove Package Management Requirements + + + Packaging requirements add size to the kernel. + One way to reduce the size of the kernel is to remove all the + packaging requirements from the image. + This reduction includes removing the package manager as well + as its dependencies. + + + + To eliminate all the packaging requirements for an image, + follow these steps: + + Put the following line in your main + recipe for the image to remove packaging files: + + ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; + + For example, the recipe for the + core-image-minimal image contains + this line. + You can also add the line to the + local.conf configuration file. + + Be sure that "package-management" is not + part of your + IMAGE_FEATURES + statement for the image. + When you remove this feature, you are removing the + package manager as well as its dependencies + from the root filesystem. + + + +
+
Look for Other Ways to Minimize Size -- cgit v1.2.3-54-g00ecf