From: Nicolas Guyomard Date: Thu, 18 Jun 2015 07:43:04 +0000 (+0200) Subject: grub-efi: Allow to use file name different from grub.cfg in GRUBCFG X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~29854 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3630f7963a472fa11a1d52bd9782fde9a9880971;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git grub-efi: Allow to use file name different from grub.cfg in GRUBCFG To generate a same image both in live image type and boot-directdisk image type and make boot-direct image boot directly on the rootfs partition without using an initramfs we need to have the ability to generate several grub.cfg files. Signed-off-by: Nicolas Guyomard Signed-off-by: Ross Burton --- diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass index 47bd35e0494..6d58d48704f 100644 --- a/meta/classes/grub-efi.bbclass +++ b/meta/classes/grub-efi.bbclass @@ -39,7 +39,7 @@ efi_populate() { fi install -m 0644 ${DEPLOY_DIR_IMAGE}/${GRUB_IMAGE} ${DEST}${EFIDIR} - install -m 0644 ${GRUBCFG} ${DEST}${EFIDIR} + install -m 0644 ${GRUBCFG} ${DEST}${EFIDIR}/grub.cfg } efi_iso_populate() {