diff --git a/PKGBUILD b/PKGBUILD index aa2ca22..564ffc1 100644 --- a/PKGBUILD +++ b/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 diff --git a/PKGBUILD.buildtool b/PKGBUILD.buildtool index d035549..f656f29 100644 --- a/PKGBUILD.buildtool +++ b/PKGBUILD.buildtool @@ -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