ci: kernel no sudo

Build kernel without sudo docker this is not needed. This is part 4 of N

Signed-off-by: Zvonko Kaiser <zkaiser@nvidia.com>
This commit is contained in:
Zvonko Kaiser
2024-05-28 10:03:22 +00:00
parent a7931115a0
commit c95ae5a502
3 changed files with 13 additions and 7 deletions

View File

@@ -489,6 +489,7 @@ build_kernel_headers() {
pushd "${kernel_path}" >>/dev/null
if [ "$linux_headers" == "deb" ]; then
export KBUILD_BUILD_USER="${USER}"
make -j $(nproc ${CI:+--ignore 1}) bindeb-pkg ARCH="${arch_target}"
fi
if [ "$linux_headers" == "rpm" ]; then