On 30 September 2012 22:28, Phil Blundell <ph...@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

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to