mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 21:57:55 +00:00
grub2: make ISO bootable on hardware
With "grub2: update to newer grub2 2.06 version" a regression slipped in which makes the ISO not bootable on real hardware. The commit reverts to the previous behaviour, to load the GRUB2 modules after boot later one by one in the ISO format case. Fixes #4647
This commit is contained in:
parent
9c136f66d4
commit
7a5eab9541
@ -1 +1 @@
|
||||
f15e84afbb47b892ed26a5ae56f5bb038777a3c0
|
||||
aae6a9ce3485b9fe5c589817e4cfc80b199d8e11
|
||||
|
@ -3,7 +3,7 @@ VERSION := git
|
||||
DOWNLOADS := g2fg.git
|
||||
|
||||
URL(g2fg) := https://github.com/alex-ab/g2fg.git
|
||||
REV(g2fg) := 7da0601946bd2bb75f4e9c3b56cb18e44b2997a1
|
||||
REV(g2fg) := 7fb21d87623a3e511ec755d9a4024e16728937be
|
||||
DIR(g2fg) := boot
|
||||
|
||||
default: $(DOWNLOADS)
|
||||
|
@ -14,5 +14,10 @@ proc install_iso_bootloader_to_run_dir { } {
|
||||
exec mkdir -p [run_dir]/boot/grub/i386-pc
|
||||
exec cp $grub2_path/boot/grub2/eltorito.img [run_dir]/boot/grub/i386-pc/.
|
||||
|
||||
set filelist [glob -nocomplain $grub2_path/boot/grub2/*.mod]
|
||||
foreach file $filelist {
|
||||
file copy $file [run_dir]/boot/grub/i386-pc/.
|
||||
}
|
||||
|
||||
exec cp [genode_dir]/tool/boot/bender [run_dir]/boot/bender
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user