anyboot: Add EFI partition support
* Enables us to add an optional EFI filesystem to the anyboot image. * All existing anyboot behaviour is preserved. * We still need to figure out how to build bios and EFI loaders at the same time on x86. * The tiny "fake ISO" still needs el-torito alt-boot for the EFI loader to work when burned to a CD. This makes the EFI loader work when written to a hard disk / flash drive.
This commit is contained in:
@@ -12,11 +12,11 @@ rule BuildAnybootImage anybootImage : mbrPart : isoPart : imageFile {
|
||||
Depends $(anybootImage) : $(mbrPart) ;
|
||||
Depends $(anybootImage) : $(imageFile) ;
|
||||
|
||||
BuildAnybootImage1 $(anybootImage) : $(anyboot) $(isoPart) $(mbrPart) $(imageFile) ;
|
||||
BuildAnybootImage1 $(anybootImage) : $(anyboot) $(mbrPart) $(isoPart) $(imageFile) ;
|
||||
}
|
||||
|
||||
actions BuildAnybootImage1 {
|
||||
$(2[1]) $(1) $(2[2]) $(2[3]) $(2[4])
|
||||
$(2[1]) -b $(2[2]) $(2[3]) $(2[4]) $(1)
|
||||
}
|
||||
|
||||
local baseMBR = base_mbr.bin ;
|
||||
|
||||
Reference in New Issue
Block a user