breakpad: fix patch striplevel to avoid 'devtool modify breakpad' error

Since the patch is modifying files in a self-contained git repo that is
.gitignored, git ends up thinking we have just touched a submodule.

This leads to 'devtool modify breakpad' failing with:

    Exception: bb.process.ExecutionError: Execution of 'git add .; git -c
    user.name="OpenEmbedded" -c user.email="oe.patch@oe" commit -a -m
    "Committing changes from do_patch

    %% ignore - from do_patch"' failed with exit code 1:
    On branch devtool
    Changes not staged for commit:
            modified:   src/third_party/lss (modified content)

            no changes added to commit

            ERROR: Function failed: patch_task_postfunc

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Chris Laplante
2019-08-27 17:51:41 -04:00
committed by Khem Raj
parent 98625eb6c5
commit 3ac60b4903
@@ -42,7 +42,7 @@ SRC_URI = "git://github.com/google/breakpad;name=breakpad \
file://0001-disable-calls-to-getcontext-with-musl.patch \
file://0001-lss-Match-syscalls-to-match-musl.patch;patchdir=src/third_party/lss \
file://mips_asm_sgidefs.patch;patchdir=src/third_party/lss \
file://dont-clobber-rsp.patch \
file://dont-clobber-rsp.patch;patchdir=src/third_party/lss;striplevel=4 \
"
S = "${WORKDIR}/git"