path: root/meta/recipes-core/meta/
diff options
authorRichard Purdie <>2020-02-04 22:20:35 +0000
committerRichard Purdie <>2020-02-06 12:16:34 +0000
commit500206534f030d79188b4b92c178a4e07c4c2cb1 (patch)
treedfb74a06db227c3de675846bfaf0bf7c884eeacf /meta/recipes-core/meta/
parent8e2afe5dd3e82bc5d4c2603ab5a17a1b4b4784e2 (diff)
patch: Extend to native/nativesdk and depend upon
There is a bug in patch 2.7.3 and earlier where index lines in patches can change file modes when they shouldn't: This leaks into debug sources in particular (e.g. tcp-wrappers where source files are read-only). Add the dependency to target recipes to avoid this problem until we can rely on 2.7.4 or later. We could try and remove all index lines from patch files but it will be a losing battle. We could try and identify all the recipes which change modes on files in patches but again, its a losing battle. Instead, compromise and have patch-native as a dependency for target recipes. We use patch-replacement-native since patch-native is in ASSUME_PROVIDED. Also add nativesdk-patch to buildtools-tarball. [YOCTO #13777] (From OE-Core rev: 5ed0840c93804488cd1c1aba6cb382b2434714a5) Signed-off-by: Richard Purdie <>
Diffstat (limited to 'meta/recipes-core/meta/')
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/meta/ b/meta/recipes-core/meta/
index 95ebda7fa1..aa55cde84a 100644
--- a/meta/recipes-core/meta/
+++ b/meta/recipes-core/meta/
@@ -25,6 +25,7 @@ TOOLCHAIN_HOST_TASK ?= "\
nativesdk-texinfo \
nativesdk-libnss-nis \
nativesdk-rpcsvc-proto \
+ nativesdk-patch \