moby: add support for building EFI bootable Moby images

Wrap a EFI stub loader with vmlinuz, initrd, and a short commandline
inside a single EFI binary.

Two files are generated:
- mobylinux.efi is a raw EFI file which some hypervisors can boot directly
- mobylinux-efi.iso: ISO image with just MobyLinux in the EFI partition

also:
- rename legacy BIOS mobylinux.iso to mobylinux-bios.iso
- Build mobylinux-efi.iso as part of the standard mobylinux build

Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
Rolf Neugebauer
2016-03-08 19:01:09 +00:00
parent 97a338b127
commit 514bcf27a2
5 changed files with 89 additions and 16 deletions

5
alpine/.gitignore vendored
View File

@@ -1,5 +1,8 @@
*.img
*.img.gz
mobylinux.iso
/mobylinux-bios.iso
/mobylinux-efi.iso
/mobylinux-boot.vhdx
/mobylinux.efi
Dockerfile.armhf
etc/inittab