ohhhhhhhhhhh (exclude linux-extra-rootfs.img build artifact)

This commit is contained in:
Linehu
2026-10-01 23:13:42 +08:00
parent 737a2cb0db
commit 1074962546
533 changed files with 133239 additions and 5460 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# Patch utsm.elf + limine.conf onto GPT images. No QEMU, no extra-rootfs mount.
set -uo pipefail
ROOT=/mnt/d/Code/DEAICUP/Deshab
OUT="$ROOT/.build_tmp/wsl_patch_vdc.out"
exec > >(stdbuf -oL tee "$OUT") 2>&1
sed -i 's/\r$//' "$ROOT/CODE/linux/patch_boot_on_img.sh"
ls -lh "$ROOT/SYSTEM/boot/utsm.elf" "$ROOT/SYSTEM/limine/limine.conf"
bash "$ROOT/CODE/linux/patch_boot_on_img.sh" "$ROOT/ISO/deshab-dev.img"
echo "[patch] iso_exit=$?"
if [[ -f /home/deshab/deshab-dev.img ]]; then
bash "$ROOT/CODE/linux/patch_boot_on_img.sh" /home/deshab/deshab-dev.img
echo "[patch] native_exit=$?"
fi
echo "[patch] done $(date -Iseconds)"