[OE-core] [PATCH] grub-efi: Allow to use file name different from grub.cfg in GRUBCFG
Nicolas Guyomard
nicolas.guyomard at open.eurogiciel.org
Thu Jun 18 07:43:04 UTC 2015
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 <nicolas.guyomard at open.eurogiciel.org>
---
meta/classes/grub-efi.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index 47bd35e..6d58d48 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() {
--
1.9.1
More information about the Openembedded-core
mailing list