Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Jason Wessel <jason.wessel@windriver.com>
To: Darren Hart <dvhart@linux.intel.com>
Cc: Openembedded-core@lists.openembedded.org
Subject: Re: [v2 PATCH 5/7] bootimage.bbclass, grub-efi.bbclass: Improve EFI & PCBIOS+EFI ISO support
Date: Tue, 17 Sep 2013 06:08:03 -0500	[thread overview]
Message-ID: <52383813.90404@windriver.com> (raw)
In-Reply-To: <1379352638.1285.154.camel@dvhart-mobl4.amr.corp.intel.com>

On 09/16/2013 12:30 PM, Darren Hart wrote:
> On Fri, 2013-09-13 at 19:09 -0500, Jason Wessel wrote:
>> -	if [ "${PCBIOS}" = "1" ]; then
>> +	# EFI only
>> +	if [ "${PCBIOS}" != "1" ] && [ "${EFI}" = "1" ] ; then
>> +		mkdir -p ${ISODIR}/${ISOLINUXDIR}
>> +		install -m 0644 ${STAGING_DATADIR}/syslinux/isolinux.bin ${ISODIR}${ISOLINUXDIR}
> 
> If it's EFI-only, we copy isolinux.bin over? I was under the impression
> isolinux.bin was a PCBIOS thing (specifically an executable that
> wouldn't even work in an EFI environment). How is this used with an
> EFI-only image? What am I missing?


There is a bug/feature in the isohybrid that requires it to be in the catalog.  I couldn't figure out how to work around it, so I left it in there.  The EFI firmware skips right over it anyway.  I can add a comment to the bbclass to this effect.



> 
>> +	fi
>> +
>> +	if [ "${PCBIOS}" = "1" ] && [ "${EFI}" != "1" ] ; then
>> +		# PCBIOS only media
>>  		mkisofs -V ${BOOTIMG_VOLUME_ID} \
>>  		        -o ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.iso \
>>  			-b ${ISO_BOOTIMG} -c ${ISO_BOOTCAT} -r \
>>  			${MKISOFS_OPTIONS} ${ISODIR}
>>  	else
>> -		bbnote "EFI-only ISO images are untested, please provide feedback."
>> -		mkisofs -V ${BOOTIMG_VOLUME_ID} \
>> +		# EFI only OR EFI+PCIBIOS
> 
> Nit: s/PCIBIOS/PCBIOS/


Oops, all fixed in v3. :-)

Jason.



  reply	other threads:[~2013-09-17 11:08 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-14  0:08 [v2 PATCH 0/7] Improved EFI boot support Jason Wessel
2013-09-14  0:08 ` [v2 PATCH 1/7] bootimage.bbclass: Move fat image creation into a function Jason Wessel
2013-09-16 17:12   ` Darren Hart
2013-09-14  0:08 ` [v2 PATCH 2/7] cdrtools-native: Update from 3.00 to 3.01a17 Jason Wessel
2013-09-16 17:21   ` Darren Hart
2013-09-14  0:08 ` [v2 PATCH 3/7] grub-efi-native: Add support for EFI ISO images Jason Wessel
2013-09-16 17:24   ` Darren Hart
2013-09-14  0:09 ` [v2 PATCH 4/7] syslinux.bbclass, syslinux: Update to syslinux 6.01 Jason Wessel
2013-09-14  8:05   ` Martin Jansa
2013-09-14 12:19     ` Jason Wessel
2013-09-14 13:16       ` Martin Jansa
2013-09-16 18:10         ` Darren Hart
2013-09-16 19:31           ` Martin Jansa
2013-09-14  0:09 ` [v2 PATCH 5/7] bootimage.bbclass, grub-efi.bbclass: Improve EFI & PCBIOS+EFI ISO support Jason Wessel
2013-09-16 17:30   ` Darren Hart
2013-09-17 11:08     ` Jason Wessel [this message]
2013-09-14  0:09 ` [v2 PATCH 6/7] grub-efi.bbclass: Add serial and graphics menu options Jason Wessel
2013-09-16 17:50   ` Darren Hart
2013-09-14  0:09 ` [v2 PATCH 7/7] bootimage.bbclass, zisofs-tools-native: add ability to compress ISO images Jason Wessel
2013-09-16 17:57   ` Darren Hart
2013-09-17 11:13     ` Jason Wessel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52383813.90404@windriver.com \
    --to=jason.wessel@windriver.com \
    --cc=Openembedded-core@lists.openembedded.org \
    --cc=dvhart@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox