Monorepo for Aesthetic.Computer aesthetic.computer
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(native): retry kernel build serially and protect native-git during deploy

+17 -2
+15 -2
fedac/native/docker-build.sh
··· 362 362 log " Compiling (${KERNEL_JOBS} cores)..." 363 363 KERNEL_LOG="$BUILD/kernel-build.log" 364 364 if ! make -j"${KERNEL_JOBS}" KALLSYMS_EXTRA_PASS=1 bzImage >"$KERNEL_LOG" 2>&1; then 365 - err "Kernel compile failed while building bzImage." 365 + err "Kernel compile failed while building bzImage (parallel pass)." 366 366 show_kernel_error_context "$KERNEL_LOG" 367 - exit 1 367 + if [ "${KERNEL_JOBS}" -gt 1 ]; then 368 + err "Retrying kernel build in serial mode (-j1, V=1) for deterministic diagnostics..." 369 + make clean 2>/dev/null || true 370 + KERNEL_LOG_RETRY="$BUILD/kernel-build-retry.log" 371 + if ! make -j1 V=1 KALLSYMS_EXTRA_PASS=1 bzImage >"$KERNEL_LOG_RETRY" 2>&1; then 372 + err "Kernel compile failed again in serial retry." 373 + show_kernel_error_context "$KERNEL_LOG_RETRY" 374 + exit 1 375 + fi 376 + KERNEL_LOG="$KERNEL_LOG_RETRY" 377 + log " Serial retry succeeded." 378 + else 379 + exit 1 380 + fi 368 381 fi 369 382 tail -3 "$KERNEL_LOG" || true 370 383
+2
oven/deploy.sh
··· 30 30 --exclude='.git' \ 31 31 --exclude='*.log' \ 32 32 --exclude='ac-source' \ 33 + --exclude='native-git' \ 34 + --exclude='secrets' \ 33 35 -e "ssh -i $SSH_KEY -o StrictHostKeyChecking=no" \ 34 36 "$SCRIPT_DIR/" \ 35 37 "root@$OVEN_HOST:$REMOTE_DIR/"