Fix error 2nd try
This commit is contained in:
parent
6bbc096456
commit
1a97c0891a
2 changed files with 4 additions and 2 deletions
3
PKGBUILD
3
PKGBUILD
|
@ -111,6 +111,7 @@ fi
|
|||
options=(!strip !debug)
|
||||
if [ "${_debug}" == "y" ]; then
|
||||
options=(!strip)
|
||||
fi
|
||||
source=(
|
||||
"https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${_kernel_major}.tar.xz"
|
||||
"https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${_kernel_major}.tar.sign"
|
||||
|
@ -147,7 +148,7 @@ prepare() {
|
|||
### Add Clear Linux patches
|
||||
echo ":: prepare: patching kernel with Clear Linux patches"
|
||||
# shellcheck disable=SC2013
|
||||
for i in $(grep '^Patch' "${srcdir}"/cl-linux/linux.spec"|grep -Ev '^Patch0132|^Patch0109|^Patch0118|^Patch0113|^Patch0138|^Patch0139|^Patch0147' | sed -n 's/.*: //p'); do
|
||||
for i in $(grep '^Patch' "${srcdir}"/cl-linux/linux.spec|grep -Ev '^Patch0132|^Patch0109|^Patch0118|^Patch0113|^Patch0138|^Patch0139|^Patch0147' | sed -n 's/.*: //p'); do
|
||||
if [ -n "$_use_llvm_lto" ]; then
|
||||
if [ "${i}" == "0162-extra-optmization-flags.patch" ] ; then
|
||||
continue
|
||||
|
|
|
@ -27,6 +27,7 @@ fi
|
|||
options=(!strip !debug)
|
||||
if [ "${_debug}" == "y" ]; then
|
||||
options=(!strip)
|
||||
fi
|
||||
source=(
|
||||
"https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${_kernel_major}.tar.xz"
|
||||
"https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${_kernel_major}.tar.sign"
|
||||
|
@ -63,7 +64,7 @@ prepare() {
|
|||
### Add Clear Linux patches
|
||||
echo ":: prepare: patching kernel with Clear Linux patches"
|
||||
# shellcheck disable=SC2013
|
||||
for i in $(grep '^Patch' "${srcdir}"/cl-linux/linux.spec"|grep -Ev '^Patch0132|^Patch0109|^Patch0118|^Patch0113|^Patch0138|^Patch0139|^Patch0147' | sed -n 's/.*: //p'); do
|
||||
for i in $(grep '^Patch' "${srcdir}"/cl-linux/linux.spec|grep -Ev '^Patch0132|^Patch0109|^Patch0118|^Patch0113|^Patch0138|^Patch0139|^Patch0147' | sed -n 's/.*: //p'); do
|
||||
if [ -n "$_use_llvm_lto" ]; then
|
||||
if [ "${i}" == "0162-extra-optmization-flags.patch" ] ; then
|
||||
continue
|
||||
|
|
Loading…
Reference in a new issue