Repository navigation
Commit d1fc4a5
committed
fix(image-factory): install a GRUB that works on any build host
Alpine has no grub-bios and no ovmf for aarch64, apk add is atomic, and the
|| true hid the failure - so the arm64 half of the multi-arch factory shipped
with no grub-install at all and died far downstream in install-kernel-grub.sh.
The tools and the modules come apart cleanly: the grub package holds
grub-install, grub-mkimage, grub-bios-setup and grub-probe for every
architecture and builds a boot chain for any target whose modules are present,
while grub-bios and grub-efi hold nothing but /usr/lib/grub/<target>/. So
install grub natively and copy i386-pc and x86_64-efi from an x86_64 stage.
ovmf is dropped: x86_64-only and referenced nowhere.
Signed-off-by: Simon Walz <contact@simonwalz.de>1 parent 058d88d commit d1fc4a5
1 file changed
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
2 | 11 | | |
3 | 12 | | |
4 | 13 | | |
| |||
16 | 25 | | |
17 | 26 | | |
18 | 27 | | |
19 | | - | |
20 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
21 | 36 | | |
22 | 37 | | |
23 | 38 | | |
| |||
0 commit comments