[OE-core] split mtd-utils

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Thu Jan 10 15:06:12 UTC 2013


Cool, I'll have a peek at the oe classic recipe and give it a stab along
the same spirit.

Best regards, Frans


2013/1/10 Andrea Adami <andrea.adami at gmail.com>

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130110/5f989d61/attachment-0002.html>


More information about the Openembedded-core mailing list