public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Andrew Fish" <afish@apple.com>
To: edk2-devel-groups-io <devel@edk2.groups.io>,
	Laszlo Ersek <lersek@redhat.com>
Cc: "Ard Biesheuvel" <ard.biesheuvel@arm.com>,
	"Jiewen Yao" <jiewen.yao@intel.com>,
	"Jordan Justen" <jordan.l.justen@intel.com>,
	"Philippe Mathieu-Daudé" <philmd@redhat.com>
Subject: Re: [edk2-devel] [PATCH 3/3] OvmfwPkg: Don't exclude XCODE Modules
Date: Mon, 25 May 2020 21:10:19 -0700	[thread overview]
Message-ID: <9D1DBCDB-9B2D-4DB2-89C9-F89458C0AA72@apple.com> (raw)
In-Reply-To: <63bcf199-3937-040c-dc2f-26b1d577ede5@redhat.com>

[-- Attachment #1: Type: text/plain, Size: 8520 bytes --]



> On May 25, 2020, at 12:31 PM, Laszlo Ersek <lersek@redhat.com> wrote:
> 
> Hi Andrew,
> 
> On 05/24/20 23:20, Andrew Fish via groups.io <http://groups.io/> wrote:
>> With this BZ getting fixed we no longer need to special case XCODE.
>> 
>> Cc: Ard Biesheuvel <ard.biesheuvel@arm.com>
>> Cc: Jiewen Yao <jiewen.yao@intel.com>
>> Cc: Jordan Justen <jordan.l.justen@intel.com>
>> Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
>> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=557
>> Signed-off-by: Andrew Fish <afish@apple.com>
>> 
>> Signed-off-by: Andrew Fish <afish@apple.com>
>> ---
>> OvmfPkg/OvmfPkgIa32.dsc    | 3 +--
>> OvmfPkg/OvmfPkgIa32.fdf    | 2 --
>> OvmfPkg/OvmfPkgIa32X64.dsc | 4 ++--
>> OvmfPkg/OvmfPkgIa32X64.fdf | 2 --
>> OvmfPkg/OvmfPkgX64.dsc     | 3 +--
>> OvmfPkg/OvmfPkgX64.fdf     | 2 --
>> OvmfPkg/OvmfXen.dsc        | 3 +--
>> OvmfPkg/OvmfXen.fdf        | 2 --
>> 8 files changed, 5 insertions(+), 16 deletions(-)
> 

Laszlo,

Thanks for the feedback. 

Can I ask that you go to https://www.tianocore.org, click on How to Contribute and point me at the chain of links I did not follow, if I missed it tit is likely due to too many links and too much information being vended. When people are starting out we should vend them the instructions that work and let them opt in to learning more. 

> (1) Please run "BaseTools/Scripts/SetupGit.py" in your edk2 clone,
> because right now, the patch is formatted/posted with too many CR
> characters.
> 

I filed https://bugzilla.tianocore.org/show_bug.cgi?id=2767 since I passed PatchCheck.py but did not run  BaseTools/Scripts/SetupGit.py

Thanks,

Andrew Fish

> (2) I'm not on the CC list -- is that an oversight, or should I have
> received the message directly due to some other means? (I've only found
> this message in my list folder).
> 
> (3) As the diffstat above indicates it too, the
> "OvmfPkg/OvmfPkgIa32X64.dsc" update is inconsistent with the other DSC
> file updates, namely in whitespace.
> 
> In the other DSC files, only one newline is inserted (just before
> Shell.inf), but in "OvmfPkgIa32X64.dsc", two newlines are inserted. One
> before Shell.inf, and another before "TftpDynamicCommand.inf".
> 
> (4) There's a typo in the subject line of this patch; please replace
> "OvmfwPkg" with "OvmfPkg".
> 
> Thank you!
> Laszlo
> 
>> diff --git a/OvmfPkg/OvmfPkgIa32.dsc b/OvmfPkg/OvmfPkgIa32.dsc
>> index d0df9cbbfb2b..8166d1588ae5 100644
>> --- a/OvmfPkg/OvmfPkgIa32.dsc
>> +++ b/OvmfPkg/OvmfPkgIa32.dsc
>> @@ -878,7 +878,6 @@ [Components]
>>   OvmfPkg/Csm/Csm16/Csm16.inf
>> 
>> !endif
>> 
>> 
>> 
>> -!if $(TOOL_CHAIN_TAG) != "XCODE5"
>> 
>>   ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
>> 
>>     <PcdsFixedAtBuild>
>> 
>>       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
>> 
>> @@ -887,7 +886,7 @@ [Components]
>>     <PcdsFixedAtBuild>
>> 
>>       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
>> 
>>   }
>> 
>> -!endif
>> 
>> +
>> 
>>   ShellPkg/Application/Shell/Shell.inf {
>> 
>>     <LibraryClasses>
>> 
>>       ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
>> 
>> diff --git a/OvmfPkg/OvmfPkgIa32.fdf b/OvmfPkg/OvmfPkgIa32.fdf
>> index e2b759aa8d05..cb1a8b1eba60 100644
>> --- a/OvmfPkg/OvmfPkgIa32.fdf
>> +++ b/OvmfPkg/OvmfPkgIa32.fdf
>> @@ -288,10 +288,8 @@ [FV.DXEFV]
>> INF  FatPkg/EnhancedFatDxe/Fat.inf
>> 
>> INF  MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
>> 
>> 
>> 
>> -!if $(TOOL_CHAIN_TAG) != "XCODE5"
>> 
>> INF  ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
>> 
>> INF  OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
>> 
>> -!endif
>> 
>> INF  ShellPkg/Application/Shell/Shell.inf
>> 
>> 
>> 
>> INF MdeModulePkg/Logo/LogoDxe.inf
>> 
>> diff --git a/OvmfPkg/OvmfPkgIa32X64.dsc b/OvmfPkg/OvmfPkgIa32X64.dsc
>> index b3ae62fee92b..e60d25db575e 100644
>> --- a/OvmfPkg/OvmfPkgIa32X64.dsc
>> +++ b/OvmfPkg/OvmfPkgIa32X64.dsc
>> @@ -892,7 +892,7 @@ [Components.X64]
>>   OvmfPkg/Csm/Csm16/Csm16.inf
>> 
>> !endif
>> 
>> 
>> 
>> -!if $(TOOL_CHAIN_TAG) != "XCODE5"
>> 
>> +
>> 
>>   ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
>> 
>>     <PcdsFixedAtBuild>
>> 
>>       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
>> 
>> @@ -901,7 +901,7 @@ [Components.X64]
>>     <PcdsFixedAtBuild>
>> 
>>       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
>> 
>>   }
>> 
>> -!endif
>> 
>> +
>> 
>>   ShellPkg/Application/Shell/Shell.inf {
>> 
>>     <LibraryClasses>
>> 
>>       ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
>> 
>> diff --git a/OvmfPkg/OvmfPkgIa32X64.fdf b/OvmfPkg/OvmfPkgIa32X64.fdf
>> index bfca1eff9e83..4cd4dd652a9f 100644
>> --- a/OvmfPkg/OvmfPkgIa32X64.fdf
>> +++ b/OvmfPkg/OvmfPkgIa32X64.fdf
>> @@ -289,10 +289,8 @@ [FV.DXEFV]
>> INF  FatPkg/EnhancedFatDxe/Fat.inf
>> 
>> INF  MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
>> 
>> 
>> 
>> -!if $(TOOL_CHAIN_TAG) != "XCODE5"
>> 
>> INF  ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
>> 
>> INF  OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
>> 
>> -!endif
>> 
>> INF  ShellPkg/Application/Shell/Shell.inf
>> 
>> 
>> 
>> INF MdeModulePkg/Logo/LogoDxe.inf
>> 
>> diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc
>> index f7fe75ebf531..3b46bce5a6e0 100644
>> --- a/OvmfPkg/OvmfPkgX64.dsc
>> +++ b/OvmfPkg/OvmfPkgX64.dsc
>> @@ -888,7 +888,6 @@ [Components]
>>   OvmfPkg/Csm/Csm16/Csm16.inf
>> 
>> !endif
>> 
>> 
>> 
>> -!if $(TOOL_CHAIN_TAG) != "XCODE5"
>> 
>>   ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
>> 
>>     <PcdsFixedAtBuild>
>> 
>>       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
>> 
>> @@ -897,7 +896,7 @@ [Components]
>>     <PcdsFixedAtBuild>
>> 
>>       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
>> 
>>   }
>> 
>> -!endif
>> 
>> +
>> 
>>   ShellPkg/Application/Shell/Shell.inf {
>> 
>>     <LibraryClasses>
>> 
>>       ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
>> 
>> diff --git a/OvmfPkg/OvmfPkgX64.fdf b/OvmfPkg/OvmfPkgX64.fdf
>> index bfca1eff9e83..4cd4dd652a9f 100644
>> --- a/OvmfPkg/OvmfPkgX64.fdf
>> +++ b/OvmfPkg/OvmfPkgX64.fdf
>> @@ -289,10 +289,8 @@ [FV.DXEFV]
>> INF  FatPkg/EnhancedFatDxe/Fat.inf
>> 
>> INF  MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
>> 
>> 
>> 
>> -!if $(TOOL_CHAIN_TAG) != "XCODE5"
>> 
>> INF  ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
>> 
>> INF  OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
>> 
>> -!endif
>> 
>> INF  ShellPkg/Application/Shell/Shell.inf
>> 
>> 
>> 
>> INF MdeModulePkg/Logo/LogoDxe.inf
>> 
>> diff --git a/OvmfPkg/OvmfXen.dsc b/OvmfPkg/OvmfXen.dsc
>> index 3af0ee705407..0c11d4732628 100644
>> --- a/OvmfPkg/OvmfXen.dsc
>> +++ b/OvmfPkg/OvmfXen.dsc
>> @@ -670,7 +670,6 @@ [Components]
>>   OvmfPkg/Csm/Csm16/Csm16.inf
>> 
>> !endif
>> 
>> 
>> 
>> -!if $(TOOL_CHAIN_TAG) != "XCODE5"
>> 
>>   ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf {
>> 
>>     <PcdsFixedAtBuild>
>> 
>>       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
>> 
>> @@ -679,7 +678,7 @@ [Components]
>>     <PcdsFixedAtBuild>
>> 
>>       gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE
>> 
>>   }
>> 
>> -!endif
>> 
>> +
>> 
>>   ShellPkg/Application/Shell/Shell.inf {
>> 
>>     <LibraryClasses>
>> 
>>       ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
>> 
>> diff --git a/OvmfPkg/OvmfXen.fdf b/OvmfPkg/OvmfXen.fdf
>> index d9ee14b484a0..e81689292313 100644
>> --- a/OvmfPkg/OvmfXen.fdf
>> +++ b/OvmfPkg/OvmfXen.fdf
>> @@ -361,10 +361,8 @@ [FV.DXEFV]
>> INF  FatPkg/EnhancedFatDxe/Fat.inf
>> 
>> INF  MdeModulePkg/Universal/Disk/UdfDxe/UdfDxe.inf
>> 
>> 
>> 
>> -!if $(TOOL_CHAIN_TAG) != "XCODE5"
>> 
>> INF  ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf
>> 
>> INF  OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf
>> 
>> -!endif
>> 
>> INF  ShellPkg/Application/Shell/Shell.inf
>> 
>> 
>> 
>> INF MdeModulePkg/Logo/LogoDxe.inf
>> 
> 
> 
> 


[-- Attachment #2: Type: text/html, Size: 31266 bytes --]

  reply	other threads:[~2020-05-26  4:10 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-24 21:20 [PATCH 0/3] Add PE/COFF resource sections support for XCODE Andrew Fish
2020-05-24 21:20 ` [PATCH 1/3] BaseTools/GenFv: Add PE/COFF resource sections injection to GenFw Andrew Fish
2020-05-27  3:15   ` Bob Feng
2020-05-24 21:20 ` [PATCH 2/3] BaseTools: Add PE/COFF resource sections support for XCODE Andrew Fish
2020-05-24 21:20 ` [PATCH 3/3] OvmfwPkg: Don't exclude XCODE Modules Andrew Fish
2020-05-25 19:31   ` [edk2-devel] " Laszlo Ersek
2020-05-26  4:10     ` Andrew Fish [this message]
2020-05-26 11:45       ` Laszlo Ersek
2020-05-27  6:05         ` Andrew Fish

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-list 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=9D1DBCDB-9B2D-4DB2-89C9-F89458C0AA72@apple.com \
    --to=devel@edk2.groups.io \
    /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