[OE-core] [PATCH v2] pango: don't try to split modules if none were installed

Burton, Ross ross.burton at intel.com
Fri Oct 12 11:07:21 UTC 2012


On 30 September 2012 22:28, Phil Blundell <philb at gnu.org> wrote:
> On Sun, 2012-09-30 at 19:31 +0100, Ross Burton wrote:
>> As this keeps on cropping up, I did have a patch to do_split_packages
>> that added an allow-empty argument. Might be worth digging out.
>
> Sounds like a decent plan.

So do_split_packages() effectively has this if you set recursive=True,
as os.walk() returns an empty list if you pass it a non-existent
directory (it's documented as ignoring errors from os.listdir).

So, what is the behaviour do_split_packages() should have if the split
root doesn't exist - should it error, ignore, or there be an option?

(note that pre-automake 1.12 this rarely happened because the
directory would exist but be empty, now with 1.12 it doesn't install
empty directories)

Ross




More information about the Openembedded-core mailing list