[oe] Creating Rootfs images without packages

mgundes mgcse at hotmail.com
Thu Oct 13 07:30:34 UTC 2011


On Wed, Oct 12, 2011 at 11:46 PM, dashesy <dashesy at gmail.com> wrote:

> On Wed, Oct 12, 2011 at 6:22 AM, mgundes <mgcse at hotmail.com> wrote:
> >   Hi,
> >
> >   I think one of the big issue with OE is build time. It does everything
> > for you, so that it takes too much times. I want to minimize build time
> and
> > realized that OE creates ipkgs for almost every package. If there is a
> way
> > to prevent creation of ipkgs it would be really good for me. In my
> opinion,
> > it would be fine for other people too since usually rootfs directory is
> > enough and ipkgs are not frequently used directly by developers.
> >
> Just as a suggestion:
> 1- You can start with a bare minimum rootfs then run it under qemu, or
> even on the board itself
>    Then you can use opkg to download/upgrade from the repositories,
> or remove what you do not need. I guess this is the fastest method.
>    I am thinking of putting together a build environment based on
> user-mode qemu and opkg.
>    I use fedora's kickstart files to build my desktop rootfs. That
> would be great to have a similar approach using qemu and opkg.
>    Specially for most people they do not need to compile the packages
> themselves and the repositories are enough, they only need to compile
> a few packages of their own.
> 2- You can only bitbake meta-toolchain to get a gcc with cross
> compilation capability, then use that to build any package that you
> want directly from sources without relying on OE.
>    This is what I do myself right now, but you need to make sure the
> dependencies are met.
>
> If the dependencies of packages are correct and to the bare minimum
> required (which should becase or it should be filed as a bug), OE will
> be a better approach, it takes care of dependencies for you.
> The only problem I have is that OE is hugely customizable, and takes
> time to learn all different tricks to get exactly what I want in my
> rootfs.
> I am learning OE, for me I try to follow the mailing lists to learn
> non-out-dated information as the first thing I learned was to that
> most wikis are way outdated :)
>
> For example, is there a way not to compile any -dbg packages?
> I intuitively guess I need to set "release" in my local.conf but there
> is no easier way than trying it and check if -dbg packages are created
> or not.
>

    Thanks for suggestions dashesy, I am going to try to use external
toolchain first. I think this will reduce much time if I achieve.


>
> >   I have asked in freenode oe room but friends said there no way to do
> that
> > in OE system. If there is no way to do that in current OE, do you plan to
> > add as a feature?
> >
> >   Thanks,
> >
> > Regards
> >
> > --
> > MahmutG
> > _______________________________________________
> > Openembedded-devel mailing list
> > Openembedded-devel at lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> >
>
> dashesy
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>


-- 
MahmutG



More information about the Openembedded-devel mailing list