summaryrefslogtreecommitdiffstats
path: root/meta/classes
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-08 00:01:19 +0100
commitae5c24b20ae045841522f322d7e9dd2cc93a8022 (patch)
tree9fcc10d1121e9d8449a817f2c61beb2364560a04 /meta/classes
parent923fb2e558de5a5b176224bcff65b826cfa97dd9 (diff)
downloadpoky-ae5c24b20ae045841522f322d7e9dd2cc93a8022.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. (From OE-Core rev: 3630f7963a472fa11a1d52bd9782fde9a9880971) Signed-off-by: Nicolas Guyomard <nicolas.guyomard@open.eurogiciel.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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() {
39 fi 39 fi
40 install -m 0644 ${DEPLOY_DIR_IMAGE}/${GRUB_IMAGE} ${DEST}${EFIDIR} 40 install -m 0644 ${DEPLOY_DIR_IMAGE}/${GRUB_IMAGE} ${DEST}${EFIDIR}
41 41
42 install -m 0644 ${GRUBCFG} ${DEST}${EFIDIR} 42 install -m 0644 ${GRUBCFG} ${DEST}${EFIDIR}/grub.cfg
43} 43}
44 44
45efi_iso_populate() { 45efi_iso_populate() {