pkd/debian: Use 'git am' instead of 'patch' to avoid issues
The patch tool tries to ask questions when a patch fails, which means automated builds will be waiting for that to time out on errors. Use 'git am' instead. This should also be smarter when applying patches.
This commit is contained in:
parent
18a7379aa4
commit
9bfb27f3e8
4
.github/workflows/debian.yml
vendored
4
.github/workflows/debian.yml
vendored
|
@ -49,7 +49,7 @@ jobs:
|
|||
|
||||
# apply surface build/packaging patches
|
||||
for PATCH in ../*.patch; do
|
||||
patch -p1 < ${PATCH}
|
||||
git am ${PATCH}
|
||||
done
|
||||
|
||||
git add .
|
||||
|
@ -57,7 +57,7 @@ jobs:
|
|||
|
||||
# apply surface patches
|
||||
for PATCH in ../../../../patches/${KERNEL_VERSION%.*}/*.patch; do
|
||||
patch -p1 < ${PATCH}
|
||||
git am < ${PATCH}
|
||||
done
|
||||
|
||||
git add .
|
||||
|
|
4
.github/workflows/debian_lts.yml
vendored
4
.github/workflows/debian_lts.yml
vendored
|
@ -49,7 +49,7 @@ jobs:
|
|||
|
||||
# apply surface build/packaging patches
|
||||
for PATCH in ../*.patch; do
|
||||
patch -p1 < ${PATCH}
|
||||
git am ${PATCH}
|
||||
done
|
||||
|
||||
git add .
|
||||
|
@ -57,7 +57,7 @@ jobs:
|
|||
|
||||
# apply surface patches
|
||||
for PATCH in ../../../../patches/${KERNEL_VERSION%.*}/*.patch; do
|
||||
patch -p1 < ${PATCH}
|
||||
git am ${PATCH}
|
||||
done
|
||||
|
||||
git add .
|
||||
|
|
Loading…
Reference in a new issue