aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Guyomard <nicolas.guyomard@open.eurogiciel.org>2015-06-18 09:43:04 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-07 23:56:23 +0100
commit3630f7963a472fa11a1d52bd9782fde9a9880971 (patch)
treeb955ae9858dd3b481e79b3f664cd012aaf028a62
parentea414da3ecc59a48a0f2fb719fc86538b47fafb8 (diff)
downloadopenembedded-core-contrib-3630f7963a472fa11a1d52bd9782fde9a9880971.tar.gz
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@open.eurogiciel.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/classes/grub-efi.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index 47bd35e049..6d58d48704 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() {