build-and-push/install: set install jobs

As the target now resides on SSD storage, increasing the jobs
for module installations might be beneficial.

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
Georg Pfuetzenreuter 2024-08-24 17:46:18 +02:00
parent 43a44932cc
commit fa50d8cb9d
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ $SSH -- rm -fr "$TARGET_BUILD"
rsync --exclude='.tmp*' --info=progress2 -lr "$LINUX_BUILD"/ "$TARGET_USER"@"$TARGET_HOST":"$TARGET_BUILD"
$SSH -- make -C/usr/src/linux O="$TARGET_BUILD" modules_install
$SSH -- make -C/usr/src/linux -j16 O="$TARGET_BUILD" modules_install
$SSH -- make -C/usr/src/linux O="$TARGET_BUILD" install
VMLINUZ=/boot/vmlinuz-"$GIT_COMMIT"

View File

@ -18,7 +18,7 @@
builddir=/tmp/build
commit="${1?Specify commit hash}"
make -C/usr/src/linux -j6 O="$builddir" modules_install
make -C/usr/src/linux -j16 O="$builddir" modules_install
make -C/usr/src/linux O="$builddir" install
VMLINUZ=/boot/vmlinuz-"$commit"