summaryrefslogtreecommitdiff
path: root/meta/classes/syslinux.bbclass
diff options
context:
space:
mode:
authorJoão Henrique Ferreira de Freitas <joaohf@gmail.com>2013-09-12 19:02:08 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-14 08:26:44 +0100
commitc58aceee7dc243467dd87f07ccc61859f8d945e6 (patch)
tree1c8d2e0a781a0641cb888a7158c3deb6394e6b5e /meta/classes/syslinux.bbclass
parentc1cbc57eb80d2cab9a80d5e5aa65419f40eefb15 (diff)
downloadopenembedded-core-c58aceee7dc243467dd87f07ccc61859f8d945e6.tar.gz
openembedded-core-c58aceee7dc243467dd87f07ccc61859f8d945e6.tar.bz2
openembedded-core-c58aceee7dc243467dd87f07ccc61859f8d945e6.zip
boot-directdisk: Allow for EFI-only boot direct disk images
Condition building PCBIOS legacy images on MACHINE_FEATURES containing "pcbios" or not containing "efi". This ensures existing BSPs will continue to get the old PCBIOS legacy-only images. New BSPs can add "efi", "pcbios", or both. The images created likewise support one or the other or both. Signed-off-by: João Henrique Ferreira de Freitas <joaohf@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/syslinux.bbclass')
-rw-r--r--meta/classes/syslinux.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/syslinux.bbclass b/meta/classes/syslinux.bbclass
index 501bc6db8e..dae66097bc 100644
--- a/meta/classes/syslinux.bbclass
+++ b/meta/classes/syslinux.bbclass
@@ -64,6 +64,11 @@ syslinux_hddimg_install() {
syslinux ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.hddimg
}
+syslinux_hdddirect_install() {
+ DEST=$1
+ syslinux $DEST
+}
+
python build_syslinux_cfg () {
import copy
import sys