On Wed, Oct 6, 2021 at 5:46 AM Jose Quaresma <quaresma.j...@gmail.com> wrote:
>
> Hi Bruce,
>
> Bruce Ashfield <bruce.ashfi...@gmail.com> escreveu no dia quarta, 6/10/2021 
> à(s) 01:12:
>>
>> From: Bruce Ashfield <bruce.ashfi...@gmail.com>
>>
>> Signed-off-by: Bruce Ashfield <bruce.ashfi...@gmail.com>
>> ---
>>  meta/classes/kernel-yocto.bbclass | 5 ++++-
>>  1 file changed, 4 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta/classes/kernel-yocto.bbclass 
>> b/meta/classes/kernel-yocto.bbclass
>> index 549dfd97a4..1d5a8cdf29 100644
>> --- a/meta/classes/kernel-yocto.bbclass
>> +++ b/meta/classes/kernel-yocto.bbclass
>> @@ -36,7 +36,10 @@ def find_patches(d,subdir):
>>              if subdir == patchdir:
>>                  patch_list.append(local)
>>          else:
>> -            patch_list.append(local)
>> +            # skip the patch if a patchdir was supplied, it won't be handled
>> +            # properly
>> +            if not patchdir:
>> +                patch_list.append(local)
>
>
> I think that will be useful to have a warning there when the patchdir was 
> supplied

Sure, but no one has ever hit this before in the wild, so there are
none known to be in existence, since if they did exist you'd get an
error.

I'll probably just drop the patch and carry it locally.

Bruce

>
> Jose
>
>>
>>      return patch_list
>>
>> --
>> 2.19.1
>>
>>
>> 
>>
>
>
> --
> Best regards,
>
> José Quaresma



-- 
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#156689): 
https://lists.openembedded.org/g/openembedded-core/message/156689
Mute This Topic: https://lists.openembedded.org/mt/86108495/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to