[yocto] Remove unwanted package from Qt

Navani Srivastava navani.srivastava at gmail.com
Wed Jan 16 09:56:20 PST 2013


I tried the same but again ended up with error. As of now i am removing all
unwanted things from rootfs by making changes in image_types.bbclass. I am
sure this is not the correct way, any ideas are appreciated..

Thanks
Navani


On Thu, Dec 27, 2012 at 11:08 PM, Jon Szymaniak <jon.szymaniak at gmail.com>wrote:

> >>
> >> Hi,
> >>
> >> I am compiling Qt-4.8.0 with poky-denzil-7.0 for arm1136 architecture.
> >>
> >>
> >>
> >> At the time of integrating qt-embedded with rootfs, I am getting qtopia
> >> directory in usr/share path of rootfs.
> >>
> >> I tried removing qtopia directory through qt recipe but ended in
> >> compilation error. Please suggest any idea to remove qtopia from share
> >> directory.
> >>
> >>
> >>
> >> Thanks and Regards
> >>
> >> Navani Kamal Srivastava
> >
> > I ran into this as well after using a bbappend to disable a number of
> > Qt features, including the building of demos that get staged in the
> > aforementioned path.  In my case, that qtopia directory (and any
> > subdirectories) wound up either being empty or containing files that
> > were unnecessary for my build.
> >
> > My quick and dirty solution was to just to add a install_append()
> > containing a 'rm -rf ${D}${datadir}/qtopia' in my bbappend. (Be sure
> > you don't have anything important in there!) I'd be curious to hear if
> > there's a better approach to this as well...
> >
> > Regards,
> > Jon
>
> Oops...just wanted to note the typo in my above response -- I'm not at
> a machine where I have access to my recipes.
>
> That should be a do_install_append(), not install_append().  I'd also
> double check the qtopia path, as I wrote that from memory, which may
> not be reliable. ;)
>
> Apologies,
> Jon
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130116/f62b9f4a/attachment.html>


More information about the yocto mailing list