Re: [oe] [meta-networking][PATCH] recipes-connectivity/samba: Only rmdir directories that exist

2016-01-12 Thread Mike Looijmans
On 11-01-16 19:11, Khem Raj wrote: On Jan 11, 2016, at 10:06 AM, Mike Looijmans wrote: On 11-01-16 19:00, Khem Raj wrote: On Jan 11, 2016, at 9:53 AM, Mike Looijmans wrote: Depending on PACKAGECONFIG selection, the /run/samba directory

Re: [oe] [meta-networking][PATCH] recipes-connectivity/samba: Only rmdir directories that exist

2016-01-11 Thread Khem Raj
> On Jan 11, 2016, at 9:53 AM, Mike Looijmans wrote: > > Depending on PACKAGECONFIG selection, the /run/samba directory may not > have been created. Make the do_install_append handle both situations > by checking whether these directories exist before attempting to

Re: [oe] [meta-networking][PATCH] recipes-connectivity/samba: Only rmdir directories that exist

2016-01-11 Thread Mike Looijmans
On 11-01-16 19:00, Khem Raj wrote: On Jan 11, 2016, at 9:53 AM, Mike Looijmans wrote: Depending on PACKAGECONFIG selection, the /run/samba directory may not have been created. Make the do_install_append handle both situations by checking whether these directories

Re: [oe] [meta-networking][PATCH] recipes-connectivity/samba: Only rmdir directories that exist

2016-01-11 Thread Khem Raj
> On Jan 11, 2016, at 10:06 AM, Mike Looijmans wrote: > > On 11-01-16 19:00, Khem Raj wrote: >> >>> On Jan 11, 2016, at 9:53 AM, Mike Looijmans wrote: >>> >>> Depending on PACKAGECONFIG selection, the /run/samba directory may not >>> have

[oe] [meta-networking][PATCH] recipes-connectivity/samba: Only rmdir directories that exist

2016-01-11 Thread Mike Looijmans
Depending on PACKAGECONFIG selection, the /run/samba directory may not have been created. Make the do_install_append handle both situations by checking whether these directories exist before attempting to remove them. This fixes do_install failing with an error like this: rmdir: failed to remove