Fix error 2nd try

This commit is contained in:
JeremyStar™ 2024-03-22 13:18:35 +01:00
parent 6bbc096456
commit 1a97c0891a
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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