All of lore.kernel.org
 help / color / mirror / Atom feed
From: Carlos Rafael Giani <dv@pseudoterminal.org>
To: "openembedded-devel@lists.openembedded.org"
	<openembedded-devel@lists.openembedded.org>
Subject: Detecting empty packages
Date: Tue, 14 May 2013 18:04:06 +0200	[thread overview]
Message-ID: <51926076.9020706@pseudoterminal.org> (raw)

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



                 reply	other threads:[~2013-05-14 16:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51926076.9020706@pseudoterminal.org \
    --to=dv@pseudoterminal.org \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.