script fixes

This commit is contained in:
2026-04-14 08:55:33 -07:00
parent aaa53d6a09
commit 21af45674e
6 changed files with 100 additions and 26 deletions
+5
View File
@@ -30,5 +30,10 @@ step_build_bios() {
fi
_size=$(wc -c < "$COREBOOT_DIR/build/coreboot.rom")
if [ "$_size" -ne "$SIZE_12MB" ]; then
error "coreboot.rom size is $_size bytes, expected $SIZE_12MB (12MB)."
error "Flashing a wrong-sized ROM will brick the board. Check your config."
return 1
fi
success "Build complete: $COREBOOT_DIR/build/coreboot.rom ($_size bytes)"
}