[OE-core] split mtd-utils

Andrea Adami andrea.adami at gmail.com
Thu Jan 10 14:56:42 UTC 2013


On Wed, Jan 9, 2013 at 6:17 PM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> On Wed, 2013-01-09 at 17:12 +0100, Frans Meulenbroeks wrote:
>> As I am involved in embedded systems where flash is somewhat sparse
>> I'm always eager to save a few bytes where possible.
>>
>> Today I noticed that mtd-utils (1.5.0 from danny) generates for my
>> architecture (powerpc) roughly 780k of binaries in usr/sbin. 423k of
>> it is due to ubifs related files.
>>
>> Would it be desired to put this in a separate package?
>>
>> e.g. mtd-utils-ubi and mtd-utils-nonubi with mtd-utils itself being
>> empty but rdepend on those two?
>> that way mtd-utils will still give all packages but those only wanting
>> the non ubi stuff can limit themselves to that.
>>
>> If desired I can give this a stab.
>
> Sounds like a sensible split to me...
>
> Cheers,
>
> Richard
>
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

OE-Classic already has one packaging split:
PACKAGES =+ "mkfs-jffs2 mkfs-ubifs

Recently I faced this same issue: for ubiattach we have to install
full mtd-utils (>700KiB)
FYI there is a recipe for ubi-utils-klibc for more extreme size optimization.

http://cgit.openembedded.org/meta-openembedded/tree/meta-initramfs/recipes-devtools/mtd

Cheers

Andrea




More information about the Openembedded-core mailing list