On Sat, 2012-02-25 at 13:26 +0100, Kövesdi György wrote:
> Hi,
> 
> Compiling the Angstrom Linux, in the file openembedded-core/meta/recipes-
> core/glib-2.0/glib-2.0_2.30.2.bb (a85f283ffae5407b23532ce2262142ee2d986af2) 
> there are the followings:
> 
> do_install_append() {
>   # remove some unpackaged files
>   rm -f ${D}${libdir}/gdbus-2.0/codegen/*.pyc
>   rm -f ${D}${libdir}/gdbus-2.0/codegen/*.pyo
>   # and empty dirs
>   rmdir ${D}${libdir}/gio/modules/
>   rmdir ${D}${libdir}/gio/
> }
> 
> I have problems with the "empty dirs" section: the directory is not empty and 
> therefore the installation fails here.
> I replaced it with "rm -rf ..." and now it worx but i do not sure it is a 
> good 
> solution.
> Why these directories are expected to be empty? What does it mean if they are 
> not?

rmdir was used specifically so we'd know if the directory wasn't empty.
What files are in there?

Are there any .bbappends to the glib recipe in any of your other layers?

Cheers,

Richard


_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to