[yocto] How to strip down my Yocto Linux?

Ayoub Zaki ayoub.zaki at embexus.com
Wed Aug 2 03:02:33 PDT 2017


A quick win also to remove DISTRO features in local.conf that your 
application(s) does not need  :

DISTRO_FEATURES_remove = "bluetooth"
DISTRO_FEATURES_remove = "3g"
DISTRO_FEATURES_remove = "opengl"
DISTRO_FEATURES_remove = "wayland"
DISTRO_FEATURES_remove = "x11"
DISTRO_FEATURES_remove = "nfc"
DISTRO_FEATURES_remove = "nfs"
DISTRO_FEATURES_remove = "ext2"

etc...

-- 

Ayoub Zaki

ayoub.zaki at embexus.com
Mobile: +49(0)176-62901545
Skype: ayoub.zaki_2
https://embexus.com


On 02.08.2017 11:57, Markus Volk wrote:
> I guess that depends on what your needs are. Personally i would start to build core-image-minimal and just add the packages i need
>
> regards
> Markus
>
> On Wed, 2 Aug 2017 09:47:15 +0000 (UTC)
> 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?
>>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170802/53a8c03e/attachment.html>


More information about the yocto mailing list