[oe-commits] Nicolas Guyomard : grub-efi: Allow to use file name different from grub.cfg in GRUBCFG
git at git.openembedded.org
git at git.openembedded.org
Wed Jul 8 12:10:04 UTC 2015
Module: openembedded-core.git
Branch: master-next
Commit: 3630f7963a472fa11a1d52bd9782fde9a9880971
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=3630f7963a472fa11a1d52bd9782fde9a9880971
Author: Nicolas Guyomard <nicolas.guyomard at open.eurogiciel.org>
Date: Thu Jun 18 09:43:04 2015 +0200
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 <nicolas.guyomard at open.eurogiciel.org>
Signed-off-by: Ross Burton <ross.burton at intel.com>
---
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() {
More information about the Openembedded-commits
mailing list