[oe] Detecting empty packages

Carlos Rafael Giani dv at pseudoterminal.org
Tue May 14 16:04:06 UTC 2013


Hello,

inside a PACKAGESPLITFUNCS function , I need to detect if a package is 
empty, to determine another package's RDEPENDS list. I tried to look at 
"FILES_${packagename}", but the problem is that this list also includes 
empty directories sometimes. So, even though "FILES_${packagename}" isnt 
empty, the package actually is.

This leaves me with the question: how can I detect if a package is empty 
(as in, has no files) programmatically in a python function ?

cheers




More information about the Openembedded-devel mailing list