[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>
23 lines
663 B
BlitzBasic
23 lines
663 B
BlitzBasic
DESCRIPTION = "A live image init script for grub-efi"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
SRC_URI = "file://init-install-efi.sh"
|
|
|
|
PR = "r0"
|
|
|
|
RDEPENDS_${PN} = "parted e2fsprogs-mke2fs dosfstools"
|
|
|
|
do_install() {
|
|
install -m 0755 ${WORKDIR}/init-install-efi.sh ${D}/install-efi.sh
|
|
}
|
|
|
|
# While this package maybe an allarch due to it being a
|
|
# simple script, reality is that it is Host specific based
|
|
# on the COMPATIBLE_HOST below, which needs to take precedence
|
|
#inherit allarch
|
|
INHIBIT_DEFAULT_DEPS = "1"
|
|
|
|
FILES_${PN} = " /install-efi.sh "
|
|
|
|
COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
|