Add BLAKE3 hash to GRUB source, remove redundant chain module

Add blake3 checksum for grub-2.12.tar.xz for recipe integrity
verification. Remove the chain module from grub-mkimage — the
chainloader command is built-in in GRUB 2.12, no separate module
needed. Image shrinks from 540 KiB to 512 KiB. Update module table
and size estimate in GRUB integration plan.
This commit is contained in:
2026-04-17 22:27:12 +01:00
parent 1b785fea6a
commit 7c031f95e4
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -75,7 +75,6 @@ The standalone EFI image includes these modules:
| `search` | Search for files/volumes | | `search` | Search for files/volumes |
| `search_fs_uuid` | Search by filesystem UUID | | `search_fs_uuid` | Search by filesystem UUID |
| `search_label` | Search by volume label | | `search_label` | Search by volume label |
| `chain` | Chainload other bootloaders |
| `echo` | Print messages | | `echo` | Print messages |
| `test` | Conditional expressions | | `test` | Conditional expressions |
| `ls` | List files and devices | | `ls` | List files and devices |
@@ -83,6 +82,8 @@ The standalone EFI image includes these modules:
| `halt` | Shut down | | `halt` | Shut down |
| `reboot` | Reboot | | `reboot` | Reboot |
Note: `chainloader` is a built-in command in GRUB 2.12 (no separate module needed).
No RedoxFS module is needed — GRUB chainloads the Redox bootloader instead. No RedoxFS module is needed — GRUB chainloads the Redox bootloader instead.
## GRUB Configuration ## GRUB Configuration
@@ -114,9 +115,9 @@ mode with different kernel parameters, once supported).
## ESP Size Requirements ## ESP Size Requirements
| Component | Measured Size | | Component | Typical Size |
|-----------|--------------| |-----------|--------------|
| GRUB EFI binary (with modules) | 540 KiB | | GRUB EFI binary (with modules) | ~500 KiB (varies with module list) |
| Redox bootloader | 100200 KiB | | Redox bootloader | 100200 KiB |
| grub.cfg | < 1 KiB | | grub.cfg | < 1 KiB |
| **Total** | **~1 MiB** | | **Total** | **~1 MiB** |
+1 -1
View File
@@ -13,6 +13,7 @@
[source] [source]
tar = "https://ftp.gnu.org/gnu/grub/grub-2.12.tar.xz" tar = "https://ftp.gnu.org/gnu/grub/grub-2.12.tar.xz"
blake3 = "13c48453f9becf4a6e49618749dc7cb83a2c4a0d7600eeeadc6c7c2772c0b877"
[build] [build]
template = "custom" template = "custom"
@@ -103,7 +104,6 @@ echo "Creating standalone GRUB EFI image..."
search \ search \
search_fs_uuid \ search_fs_uuid \
search_label \ search_label \
chain \
echo \ echo \
test \ test \
ls \ ls \