Re: [OE-core] [PATCH 7/7] kernel-yocto: don't apply config metadata patches twice
From: Jose Quaresma <hidden>
Date: 2021-10-06 08:46:30
Hi Bruce, Bruce Ashfield [off-list ref] escreveu no dia quarta, 6/10/2021 à(s) 01:12:
quoted hunk ↗ jump to hunk
From: Bruce Ashfield <redacted> Signed-off-by: Bruce Ashfield <redacted> --- meta/classes/kernel-yocto.bbclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)diff --git a/meta/classes/kernel-yocto.bbclassb/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 behandled + # properly + if not patchdir: + patch_list.append(local)
I think that will be useful to have a warning there when the patchdir was supplied Jose
return patch_list -- 2.19.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#156667): https://lists.openembedded.org/g/openembedded-core/message/156667 Mute This Topic: https://lists.openembedded.org/mt/86108495/5052612 Group Owner: openembedded-core+owner@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ quaresma.jose@gmail.com] -=-=-=-=-=-=-=-=-=-=-=-
-- Best regards, José Quaresma