[yocto] How to strip down my Yocto Linux?

Khem Raj raj.khem at gmail.com
Wed Aug 2 14:21:54 PDT 2017


On Wed, Aug 2, 2017 at 3:35 AM Burton, Ross <ross.burton at intel.com> wrote:

> First, the core images are examples; copy and paste the closest to what
> you want and then modify the recipe.
>
> If you want a really small image then start from core-image-minimal, but
> be aware that is missing a lot of stuff you may actually want.
>

And use poky-tiny for distro reference to build up your own

>
> How to remove things depends on how they got installed in the first
> place.  Unless you have doc-pkgs in IMAGE_FEATURES then you shouldn't have
> any man pages or documentation.  If the poco recipe installs sample code
> you don't want then fix the recipe to put those in another package. etc etc.
>
> Ross
>
> On 2 August 2017 at 10:47, Bacheh Karaji <bachehkaraji at yahoo.com> wrote:
>
>> I would like to strip down my Yocto Linux before put in it to flash.
>> Unneeded software, man pages, POCO sample codes and other documentation
>> just waste resource, especially on the i.MX28 EVK with only 128MB flash.
>>
>> My local.conf file looks following:
>>
>>
>>
>>
>>
>> *$ gedit conf/local.conf & ... IMAGE_INSTALL_append = " poco nginx
>> canutils vsftpd curl fcgi spawn-fcgi net-snmp util-linux ubiattach-klibc
>> ubimkvol-klibc ubiformat-klibc minicom net-tools zeroconf avahi-autoipd
>> mtd-utils u-boot-fw-utils ethtool" ... I bitbake the image
>> "core-image-base"*.
>>
>> I was wondering, is there a way that I can delete all of the Unneeded
>> files?
>>
>> Can somebody help me howto strip down my Yocto Linux?
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170802/2359a9f1/attachment.html>


More information about the yocto mailing list