Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
ci: Reduce list of debug options to disable for CI builds
Vasiliy Stelmachenok3e2055c70d7e
diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILDindex dc16bc3c..667d0ef8 100644--- a/linux-cachyos-bmq/PKGBUILD+++ b/linux-cachyos-bmq/PKGBUILD@@ -130,6 +130,11 @@ _is_lto_kernel() {return $?}+_is_ci_build() {+ [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]+ return $?+}+if _is_lto_kernel && [ "$_use_lto_suffix" = "yes" ]; then_pkgsuffix="cachyos-${_cpusched}-lto"elif ! _is_lto_kernel && [ "$_use_gcc_suffix" = "yes" ]; then@@ -368,19 +373,14 @@ prepare() {fi### CI-only stuff- if [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]; then+ if _is_ci_build; thenecho "Detected build inside CI"- scripts/config -d CC_OPTIMIZE_FOR_PERFORMANCE \++ scripts/config \-d CC_OPTIMIZE_FOR_PERFORMANCE_O3 \- -e CONFIG_CC_OPTIMIZE_FOR_SIZE \- -d SLUB_DEBUG \- -d PM_DEBUG \- -d PM_ADVANCED_DEBUG \- -d PM_SLEEP_DEBUG \- -d ACPI_DEBUG \- -d LATENCYTOP \- -d SCHED_DEBUG \- -d DEBUG_PREEMPT+ -e CC_OPTIMIZE_FOR_SIZE \+ -d DEBUG_KERNEL \+ -e DEBUG_INFO_REDUCEDfi### Enable bbr3@@ -489,7 +489,10 @@ _sign_modules() {build() {cd "$_srcname"make "${BUILD_FLAGS[@]}" -j"$(nproc)" all- make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1++ if ! _is_ci_build; then+ make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1+ filocal MODULE_FLAGS=(KERNEL_UNAME="${_kernuname}"@@ -564,7 +567,12 @@ _package-headers() {echo "Installing build files..."install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \- localversion.* version vmlinux tools/bpf/bpftool/vmlinux.h+ localversion.* version vmlinux++ if ! _is_ci_build; then+ install -Dt "$builddir" -m644 tools/bpf/bpftool/vmlinux.h+ fi+install -Dt "$builddir/kernel" -m644 kernel/Makefileinstall -Dt "$builddir/arch/x86" -m644 arch/x86/Makefilecp -t "$builddir" -a scriptsdiff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex d4d013db..8c8f7728 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -130,6 +130,11 @@ _is_lto_kernel() {return $?}+_is_ci_build() {+ [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]+ return $?+}+if _is_lto_kernel && [ "$_use_lto_suffix" = "yes" ]; then_pkgsuffix="cachyos-${_cpusched}-lto"elif ! _is_lto_kernel && [ "$_use_gcc_suffix" = "yes" ]; then@@ -367,19 +372,14 @@ prepare() {fi### CI-only stuff- if [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]; then+ if _is_ci_build; thenecho "Detected build inside CI"- scripts/config -d CC_OPTIMIZE_FOR_PERFORMANCE \++ scripts/config \-d CC_OPTIMIZE_FOR_PERFORMANCE_O3 \- -e CONFIG_CC_OPTIMIZE_FOR_SIZE \- -d SLUB_DEBUG \- -d PM_DEBUG \- -d PM_ADVANCED_DEBUG \- -d PM_SLEEP_DEBUG \- -d ACPI_DEBUG \- -d LATENCYTOP \- -d SCHED_DEBUG \- -d DEBUG_PREEMPT+ -e CC_OPTIMIZE_FOR_SIZE \+ -d DEBUG_KERNEL \+ -e DEBUG_INFO_REDUCEDfi### Enable bbr3@@ -488,7 +488,10 @@ _sign_modules() {build() {cd "$_srcname"make "${BUILD_FLAGS[@]}" -j"$(nproc)" all- make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1++ if ! _is_ci_build; then+ make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1+ filocal MODULE_FLAGS=(KERNEL_UNAME="${_kernuname}"@@ -563,7 +566,12 @@ _package-headers() {echo "Installing build files..."install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \- localversion.* version vmlinux tools/bpf/bpftool/vmlinux.h+ localversion.* version vmlinux++ if ! _is_ci_build; then+ install -Dt "$builddir" -m644 tools/bpf/bpftool/vmlinux.h+ fi+install -Dt "$builddir/kernel" -m644 kernel/Makefileinstall -Dt "$builddir/arch/x86" -m644 arch/x86/Makefilecp -t "$builddir" -a scriptsdiff --git a/linux-cachyos-deckify/PKGBUILD b/linux-cachyos-deckify/PKGBUILDindex 51cfb313..1a020690 100644--- a/linux-cachyos-deckify/PKGBUILD+++ b/linux-cachyos-deckify/PKGBUILD@@ -129,6 +129,11 @@ _is_lto_kernel() {return $?}+_is_ci_build() {+ [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]+ return $?+}+if _is_lto_kernel && [ "$_use_lto_suffix" = "yes" ]; then_pkgsuffix="cachyos-deckify-lto"elif ! _is_lto_kernel && [ "$_use_gcc_suffix" = "yes" ]; then@@ -367,19 +372,14 @@ prepare() {fi### CI-only stuff- if [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]; then+ if _is_ci_build; thenecho "Detected build inside CI"- scripts/config -d CC_OPTIMIZE_FOR_PERFORMANCE \++ scripts/config \-d CC_OPTIMIZE_FOR_PERFORMANCE_O3 \- -e CONFIG_CC_OPTIMIZE_FOR_SIZE \- -d SLUB_DEBUG \- -d PM_DEBUG \- -d PM_ADVANCED_DEBUG \- -d PM_SLEEP_DEBUG \- -d ACPI_DEBUG \- -d LATENCYTOP \- -d SCHED_DEBUG \- -d DEBUG_PREEMPT+ -e CC_OPTIMIZE_FOR_SIZE \+ -d DEBUG_KERNEL \+ -e DEBUG_INFO_REDUCEDfi### Enable bbr3@@ -491,7 +491,10 @@ _sign_modules() {build() {cd "$_srcname"make "${BUILD_FLAGS[@]}" -j"$(nproc)" all- make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1++ if ! _is_ci_build; then+ make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1+ filocal MODULE_FLAGS=(KERNEL_UNAME="${_kernuname}"@@ -566,7 +569,12 @@ _package-headers() {echo "Installing build files..."install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \- localversion.* version vmlinux tools/bpf/bpftool/vmlinux.h+ localversion.* version vmlinux++ if ! _is_ci_build; then+ install -Dt "$builddir" -m644 tools/bpf/bpftool/vmlinux.h+ fi+install -Dt "$builddir/kernel" -m644 kernel/Makefileinstall -Dt "$builddir/arch/x86" -m644 arch/x86/Makefilecp -t "$builddir" -a scriptsdiff --git a/linux-cachyos-eevdf/PKGBUILD b/linux-cachyos-eevdf/PKGBUILDindex fa69dba4..c3c186a6 100644--- a/linux-cachyos-eevdf/PKGBUILD+++ b/linux-cachyos-eevdf/PKGBUILD@@ -130,6 +130,11 @@ _is_lto_kernel() {return $?}+_is_ci_build() {+ [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]+ return $?+}+if _is_lto_kernel && [ "$_use_lto_suffix" = "yes" ]; then_pkgsuffix="cachyos-${_cpusched}-lto"elif ! _is_lto_kernel && [ "$_use_gcc_suffix" = "yes" ]; then@@ -367,19 +372,14 @@ prepare() {fi### CI-only stuff- if [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]; then+ if _is_ci_build; thenecho "Detected build inside CI"- scripts/config -d CC_OPTIMIZE_FOR_PERFORMANCE \++ scripts/config \-d CC_OPTIMIZE_FOR_PERFORMANCE_O3 \- -e CONFIG_CC_OPTIMIZE_FOR_SIZE \- -d SLUB_DEBUG \- -d PM_DEBUG \- -d PM_ADVANCED_DEBUG \- -d PM_SLEEP_DEBUG \- -d ACPI_DEBUG \- -d LATENCYTOP \- -d SCHED_DEBUG \- -d DEBUG_PREEMPT+ -e CC_OPTIMIZE_FOR_SIZE \+ -d DEBUG_KERNEL \+ -e DEBUG_INFO_REDUCEDfi### Enable bbr3@@ -488,7 +488,10 @@ _sign_modules() {build() {cd "$_srcname"make "${BUILD_FLAGS[@]}" -j"$(nproc)" all- make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1++ if ! _is_ci_build; then+ make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1+ filocal MODULE_FLAGS=(KERNEL_UNAME="${_kernuname}"@@ -563,7 +566,12 @@ _package-headers() {echo "Installing build files..."install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \- localversion.* version vmlinux tools/bpf/bpftool/vmlinux.h+ localversion.* version vmlinux++ if ! _is_ci_build; then+ install -Dt "$builddir" -m644 tools/bpf/bpftool/vmlinux.h+ fi+install -Dt "$builddir/kernel" -m644 kernel/Makefileinstall -Dt "$builddir/arch/x86" -m644 arch/x86/Makefilecp -t "$builddir" -a scriptsdiff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILDindex 28bb642f..1c911091 100644--- a/linux-cachyos-hardened/PKGBUILD+++ b/linux-cachyos-hardened/PKGBUILD@@ -130,6 +130,11 @@ _is_lto_kernel() {return $?}+_is_ci_build() {+ [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]+ return $?+}+if _is_lto_kernel && [ "$_use_lto_suffix" = "yes" ]; then_pkgsuffix="cachyos-${_cpusched}-lto"elif ! _is_lto_kernel && [ "$_use_gcc_suffix" = "yes" ]; then@@ -366,19 +371,14 @@ prepare() {fi### CI-only stuff- if [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]; then+ if _is_ci_build; thenecho "Detected build inside CI"- scripts/config -d CC_OPTIMIZE_FOR_PERFORMANCE \++ scripts/config \-d CC_OPTIMIZE_FOR_PERFORMANCE_O3 \- -e CONFIG_CC_OPTIMIZE_FOR_SIZE \- -d SLUB_DEBUG \- -d PM_DEBUG \- -d PM_ADVANCED_DEBUG \- -d PM_SLEEP_DEBUG \- -d ACPI_DEBUG \- -d LATENCYTOP \- -d SCHED_DEBUG \- -d DEBUG_PREEMPT+ -e CC_OPTIMIZE_FOR_SIZE \+ -d DEBUG_KERNEL \+ -e DEBUG_INFO_REDUCEDfi### Enable bbr3diff --git a/linux-cachyos-lts/PKGBUILD b/linux-cachyos-lts/PKGBUILDindex 6edd38eb..2b297ad4 100644--- a/linux-cachyos-lts/PKGBUILD+++ b/linux-cachyos-lts/PKGBUILD@@ -137,6 +137,11 @@ _is_lto_kernel() {return $?}+_is_ci_build() {+ [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]+ return $?+}+if _is_lto_kernel && [ "$_use_lto_suffix" = "yes" ]; then_pkgsuffix="cachyos-lts-lto"elif ! _is_lto_kernel && [ "$_use_gcc_suffix" = "yes" ]; then@@ -368,19 +373,14 @@ prepare() {fi### CI-only stuff- if [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]; then+ if _is_ci_build; thenecho "Detected build inside CI"- scripts/config -d CC_OPTIMIZE_FOR_PERFORMANCE \++ scripts/config \-d CC_OPTIMIZE_FOR_PERFORMANCE_O3 \- -e CONFIG_CC_OPTIMIZE_FOR_SIZE \- -d SLUB_DEBUG \- -d PM_DEBUG \- -d PM_ADVANCED_DEBUG \- -d PM_SLEEP_DEBUG \- -d ACPI_DEBUG \- -d LATENCYTOP \- -d SCHED_DEBUG \- -d DEBUG_PREEMPT+ -e CC_OPTIMIZE_FOR_SIZE \+ -d DEBUG_KERNEL \+ -e DEBUG_INFO_REDUCEDfi### Enable bbr3@@ -488,7 +488,10 @@ _sign_modules() {build() {cd "$_srcname"make "${BUILD_FLAGS[@]}" -j"$(nproc)" all- make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1++ if ! _is_ci_build; then+ make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1+ filocal MODULE_FLAGS=(KERNEL_UNAME="${_kernuname}"@@ -563,7 +566,12 @@ _package-headers() {echo "Installing build files..."install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \- localversion.* version vmlinux tools/bpf/bpftool/vmlinux.h+ localversion.* version vmlinux++ if ! _is_ci_build; then+ install -Dt "$builddir" -m644 tools/bpf/bpftool/vmlinux.h+ fi+install -Dt "$builddir/kernel" -m644 kernel/Makefileinstall -Dt "$builddir/arch/x86" -m644 arch/x86/Makefilecp -t "$builddir" -a scriptsdiff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex 340ba920..8f3c825f 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -408,19 +408,14 @@ prepare() {fi### CI-only stuff- if [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]; then+ if _is_ci_build; thenecho "Detected build inside CI"- scripts/config -d CC_OPTIMIZE_FOR_PERFORMANCE \++ scripts/config \-d CC_OPTIMIZE_FOR_PERFORMANCE_O3 \- -e CONFIG_CC_OPTIMIZE_FOR_SIZE \- -d SLUB_DEBUG \- -d PM_DEBUG \- -d PM_ADVANCED_DEBUG \- -d PM_SLEEP_DEBUG \- -d ACPI_DEBUG \- -d LATENCYTOP \- -d SCHED_DEBUG \- -d DEBUG_PREEMPT+ -e CC_OPTIMIZE_FOR_SIZE \+ -d DEBUG_KERNEL \+ -e DEBUG_INFO_REDUCEDfi### Enable bbr3@@ -550,7 +545,10 @@ _sign_modules() {build() {cd "$_srcname"make "${BUILD_FLAGS[@]}" -j"$(nproc)" all- make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1++ if ! _is_ci_build; then+ make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1+ filocal MODULE_FLAGS=(KERNEL_UNAME="${_kernuname}"@@ -629,7 +627,12 @@ _package-headers() {echo "Installing build files..."install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \- localversion.* version vmlinux tools/bpf/bpftool/vmlinux.h+ localversion.* version vmlinux++ if ! _is_ci_build; then+ install -Dt "$builddir" -m644 tools/bpf/bpftool/vmlinux.h+ fi+install -Dt "$builddir/kernel" -m644 kernel/Makefileinstall -Dt "$builddir/arch/x86" -m644 arch/x86/Makefilecp -t "$builddir" -a scriptsdiff --git a/linux-cachyos-rt-bore/PKGBUILD b/linux-cachyos-rt-bore/PKGBUILDindex ad548451..2051a74c 100644--- a/linux-cachyos-rt-bore/PKGBUILD+++ b/linux-cachyos-rt-bore/PKGBUILD@@ -130,6 +130,11 @@ _is_lto_kernel() {return $?}+_is_ci_build() {+ [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]+ return $?+}+if _is_lto_kernel && [ "$_use_lto_suffix" = "yes" ]; then_pkgsuffix="cachyos-${_cpusched}-lto"elif ! _is_lto_kernel && [ "$_use_gcc_suffix" = "yes" ]; then@@ -367,19 +372,14 @@ prepare() {fi### CI-only stuff- if [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]; then+ if _is_ci_build; thenecho "Detected build inside CI"- scripts/config -d CC_OPTIMIZE_FOR_PERFORMANCE \++ scripts/config \-d CC_OPTIMIZE_FOR_PERFORMANCE_O3 \- -e CONFIG_CC_OPTIMIZE_FOR_SIZE \- -d SLUB_DEBUG \- -d PM_DEBUG \- -d PM_ADVANCED_DEBUG \- -d PM_SLEEP_DEBUG \- -d ACPI_DEBUG \- -d LATENCYTOP \- -d SCHED_DEBUG \- -d DEBUG_PREEMPT+ -e CC_OPTIMIZE_FOR_SIZE \+ -d DEBUG_KERNEL \+ -e DEBUG_INFO_REDUCEDfi### Enable bbr3@@ -488,7 +488,10 @@ _sign_modules() {build() {cd "$_srcname"make "${BUILD_FLAGS[@]}" -j"$(nproc)" all- make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1++ if ! _is_ci_build; then+ make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1+ filocal MODULE_FLAGS=(KERNEL_UNAME="${_kernuname}"@@ -563,7 +566,12 @@ _package-headers() {echo "Installing build files..."install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \- localversion.* version vmlinux tools/bpf/bpftool/vmlinux.h+ localversion.* version vmlinux++ if ! _is_ci_build; then+ install -Dt "$builddir" -m644 tools/bpf/bpftool/vmlinux.h+ fi+install -Dt "$builddir/kernel" -m644 kernel/Makefileinstall -Dt "$builddir/arch/x86" -m644 arch/x86/Makefilecp -t "$builddir" -a scriptsdiff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILDindex 5520eb52..f673f872 100644--- a/linux-cachyos-server/PKGBUILD+++ b/linux-cachyos-server/PKGBUILD@@ -130,6 +130,11 @@ _is_lto_kernel() {return $?}+_is_ci_build() {+ [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]+ return $?+}+if _is_lto_kernel && [ "$_use_lto_suffix" = "yes" ]; then_pkgsuffix="cachyos-server-lto"elif ! _is_lto_kernel && [ "$_use_gcc_suffix" = "yes" ]; then@@ -367,19 +372,14 @@ prepare() {fi### CI-only stuff- if [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]; then+ if _is_ci_build; thenecho "Detected build inside CI"- scripts/config -d CC_OPTIMIZE_FOR_PERFORMANCE \++ scripts/config \-d CC_OPTIMIZE_FOR_PERFORMANCE_O3 \- -e CONFIG_CC_OPTIMIZE_FOR_SIZE \- -d SLUB_DEBUG \- -d PM_DEBUG \- -d PM_ADVANCED_DEBUG \- -d PM_SLEEP_DEBUG \- -d ACPI_DEBUG \- -d LATENCYTOP \- -d SCHED_DEBUG \- -d DEBUG_PREEMPT+ -e CC_OPTIMIZE_FOR_SIZE \+ -d DEBUG_KERNEL \+ -e DEBUG_INFO_REDUCEDfi### Enable bbr3@@ -488,7 +488,10 @@ _sign_modules() {build() {cd "$_srcname"make "${BUILD_FLAGS[@]}" -j"$(nproc)" all- make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1++ if ! _is_ci_build; then+ make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1+ filocal MODULE_FLAGS=(KERNEL_UNAME="${_kernuname}"@@ -563,7 +566,12 @@ _package-headers() {echo "Installing build files..."install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \- localversion.* version vmlinux tools/bpf/bpftool/vmlinux.h+ localversion.* version vmlinux++ if ! _is_ci_build; then+ install -Dt "$builddir" -m644 tools/bpf/bpftool/vmlinux.h+ fi+install -Dt "$builddir/kernel" -m644 kernel/Makefileinstall -Dt "$builddir/arch/x86" -m644 arch/x86/Makefilecp -t "$builddir" -a scriptsdiff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex db085827..5dc7ffbe 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -155,6 +155,11 @@ _is_lto_kernel() {return $?}+_is_ci_build() {+ [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]+ return $?+}+if _is_lto_kernel && [ "$_use_lto_suffix" = "yes" ]; then_pkgsuffix=cachyos-ltoelif ! _is_lto_kernel && [ "$_use_gcc_suffix" = "yes" ]; then@@ -407,19 +412,14 @@ prepare() {fi### CI-only stuff- if [[ -n "$CI" || -n "$GITHUB_RUN_ID" ]]; then+ if _is_ci_build; thenecho "Detected build inside CI"- scripts/config -d CC_OPTIMIZE_FOR_PERFORMANCE \++ scripts/config \-d CC_OPTIMIZE_FOR_PERFORMANCE_O3 \- -e CONFIG_CC_OPTIMIZE_FOR_SIZE \- -d SLUB_DEBUG \- -d PM_DEBUG \- -d PM_ADVANCED_DEBUG \- -d PM_SLEEP_DEBUG \- -d ACPI_DEBUG \- -d LATENCYTOP \- -d SCHED_DEBUG \- -d DEBUG_PREEMPT+ -e CC_OPTIMIZE_FOR_SIZE \+ -d DEBUG_KERNEL \+ -e DEBUG_INFO_REDUCEDfi### Enable bbr3@@ -549,7 +549,10 @@ _sign_modules() {build() {cd "$_srcname"make "${BUILD_FLAGS[@]}" -j"$(nproc)" all- make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1++ if ! _is_ci_build; then+ make -C tools/bpf/bpftool vmlinux.h feature-clang-bpf-co-re=1+ filocal MODULE_FLAGS=(KERNEL_UNAME="${_kernuname}"@@ -635,7 +638,12 @@ _package-headers() {echo "Installing build files..."install -Dt "$builddir" -m644 .config Makefile Module.symvers System.map \- localversion.* version vmlinux tools/bpf/bpftool/vmlinux.h+ localversion.* version vmlinux++ if ! _is_ci_build; then+ install -Dt "$builddir" -m644 tools/bpf/bpftool/vmlinux.h+ fi+install -Dt "$builddir/kernel" -m644 kernel/Makefileinstall -Dt "$builddir/arch/x86" -m644 arch/x86/Makefilecp -t "$builddir" -a scripts