EFI: Make installer EFI aware
authorDarren Hart <dvhart@linux.intel.com>
Wed, 4 Jul 2012 04:05:46 +0000 (21:05 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jul 2012 16:49:48 +0000 (17:49 +0100)
commitd334ad59a2eb7f37b82877c571dc28dd023500ce
treea217162eb3acb94a717909921d66abe2ee593549
parent5f987a0b62041eb530c8e6f7dee2e41e95fc1109
EFI: Make installer EFI aware

[YOCTO #1919]

Create a basic EFI installer script modeled after the existing installer
and add it to a new initramfs-live-install-efi recipe. Update the
init-live.sh script to distinguish between LABEL=install and
LABEL=install-efi and select the appropriate script. Add the efi
installer to core-image-minimal-initramfs.

Update grub-efi.bbclass to use "LABEL=install-efi" when it detects a
label of "install". This is clearly not ideal, but a proper fix would
involve decoupling the LABELS assignment from the image-live.bbclass
usage of SYSLINUX_LABELS. We should be able to address that in a
follow-on clean-up series.

V2: Include missing initramfs-live-install-efi_1.0.bb
V3: Rebase after Radu's console_params fix

(From OE-Core rev: 4bce3417917a3e88ba6529db394525fba82e0699)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/grub-efi.bbclass
meta/recipes-core/images/core-image-minimal-initramfs.bb
meta/recipes-core/initrdscripts/files/init-install-efi.sh [new file with mode: 0644]
meta/recipes-core/initrdscripts/files/init-live.sh
meta/recipes-core/initrdscripts/initramfs-live-install-efi_1.0.bb [new file with mode: 0644]