[OE-core] [PATCH 1/2] [V2] systemd: Remove init.d dir if systemd unit file is present and sysvinit not a distro feature

Burton, Ross ross.burton at intel.com
Mon Jul 29 14:44:07 UTC 2013


On 29 July 2013 15:36, Phil Blundell <pb at pbcl.net> wrote:
>> Not sure we need the listdir(), why should the function only delete
>> the directory if it has contents?  If it doesn't have contents you'll
>> be packaging an empty directory.
>
> The directory he's deleting is different to the one that he's listing.

Well spotted.  I'll go get another coffee before "reviewing" anything
else today!

Ross



More information about the Openembedded-core mailing list