[OE-core] empty dirs in glib-2.0
Kövesdi György
kgy at teledigit.eu
Sat Feb 25 12:26:57 UTC 2012
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?
Thanx in advance
Gyorgy Kovesdi
More information about the Openembedded-core
mailing list