All of lore.kernel.org
 help / color / mirror / Atom feed
* empty dirs in glib-2.0
@ 2012-02-25 12:26 Kövesdi György
  2012-02-25 14:55 ` Richard Purdie
  0 siblings, 1 reply; 8+ messages in thread
From: Kövesdi György @ 2012-02-25 12:26 UTC (permalink / raw)
  To: openembedded-core

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-02-27 12:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-25 12:26 empty dirs in glib-2.0 Kövesdi György
2012-02-25 14:55 ` Richard Purdie
2012-02-27 10:30   ` Gyorgy Kovesdi
2012-02-27 10:41     ` Jack Mitchell
2012-02-27 11:05       ` Ni Qingliang
2012-02-27 12:08         ` Andrea Adami
2012-02-27 12:17         ` Richard Purdie
2012-02-27 10:44     ` Gyorgy Kovesdi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.