diff options
Diffstat (limited to 'meta/classes/patch.bbclass')
| -rw-r--r-- | meta/classes/patch.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/classes/patch.bbclass b/meta/classes/patch.bbclass index cd241f1c84..25ec089ae1 100644 --- a/meta/classes/patch.bbclass +++ b/meta/classes/patch.bbclass | |||
| @@ -5,6 +5,13 @@ QUILTRCFILE ?= "${STAGING_ETCDIR_NATIVE}/quiltrc" | |||
| 5 | 5 | ||
| 6 | PATCHDEPENDENCY = "${PATCHTOOL}-native:do_populate_sysroot" | 6 | PATCHDEPENDENCY = "${PATCHTOOL}-native:do_populate_sysroot" |
| 7 | 7 | ||
| 8 | # There is a bug in patch 2.7.3 and earlier where index lines | ||
| 9 | # in patches can change file modes when they shouldn't: | ||
| 10 | # http://git.savannah.gnu.org/cgit/patch.git/patch/?id=82b800c9552a088a241457948219d25ce0a407a4 | ||
| 11 | # This leaks into debug sources in particular. Add the dependency | ||
| 12 | # to target recipes to avoid this problem until we can rely on 2.7.4 or later. | ||
| 13 | PATCHDEPENDENCY_append_class-target = " patch-replacement-native:do_populate_sysroot" | ||
| 14 | |||
| 8 | PATCH_GIT_USER_NAME ?= "OpenEmbedded" | 15 | PATCH_GIT_USER_NAME ?= "OpenEmbedded" |
| 9 | PATCH_GIT_USER_EMAIL ?= "oe.patch@oe" | 16 | PATCH_GIT_USER_EMAIL ?= "oe.patch@oe" |
| 10 | 17 | ||
