From de848c14580114bf00dc949f8cfcc2bd76e5779b Mon Sep 17 00:00:00 2001 From: Gabriela Cervantes Date: Mon, 8 Jul 2024 21:19:41 +0000 Subject: [PATCH] packaging: Remove CI variable from build kernel script This PR removes the CI variable from build kernel script which is not longer supported it as this was part of the jenkins environment. Signed-off-by: Gabriela Cervantes --- tools/packaging/kernel/build-kernel.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/packaging/kernel/build-kernel.sh b/tools/packaging/kernel/build-kernel.sh index 83e3d8542e..d72ae2f191 100755 --- a/tools/packaging/kernel/build-kernel.sh +++ b/tools/packaging/kernel/build-kernel.sh @@ -470,9 +470,9 @@ build_kernel() { [ -n "${arch_target}" ] || arch_target="$(uname -m)" arch_target=$(arch_to_kernel "${arch_target}") pushd "${kernel_path}" >>/dev/null - make -j $(nproc ${CI:+--ignore 1}) ARCH="${arch_target}" ${CROSS_BUILD_ARG} + make -j $(nproc) ARCH="${arch_target}" ${CROSS_BUILD_ARG} if [ "${conf_guest}" == "confidential" ]; then - make -j $(nproc ${CI:+--ignore 1}) INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=${kernel_path} modules_install + make -j $(nproc) INSTALL_MOD_STRIP=1 INSTALL_MOD_PATH=${kernel_path} modules_install fi [ "$arch_target" != "powerpc" ] && ([ -e "arch/${arch_target}/boot/bzImage" ] || [ -e "arch/${arch_target}/boot/Image.gz" ]) [ -e "vmlinux" ] @@ -490,10 +490,10 @@ build_kernel_headers() { if [ "$linux_headers" == "deb" ]; then export KBUILD_BUILD_USER="${USER}" - make -j $(nproc ${CI:+--ignore 1}) bindeb-pkg ARCH="${arch_target}" + make -j $(nproc) bindeb-pkg ARCH="${arch_target}" fi if [ "$linux_headers" == "rpm" ]; then - make -j $(nproc ${CI:+--ignore 1}) rpm-pkg ARCH="${arch_target}" + make -j $(nproc) rpm-pkg ARCH="${arch_target}" fi popd >>/dev/null