public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1 0/1] update path to edk2-test-parser, checks for repo
@ 2023-01-26 20:05 Abhimanyu Singh
  2023-01-26 20:05 ` [PATCH v1 1/1] uefi-sct/SctPkg: update path to edk2-test-parser, check " Abhimanyu Singh
  0 siblings, 1 reply; 5+ messages in thread
From: Abhimanyu Singh @ 2023-01-26 20:05 UTC (permalink / raw)
  To: devel; +Cc: Edhaya.Chandran, gaojie, Carolyn.Gjertsen


buildzip.sh was referencing the obsolete sct_parser project
which has been replaced with edk2-test-parser.

The script now checks for the edk2-test-parser repo in $pwd,
if not present then the script exits and reminds the user to
clone edk2-test-parser.
Now the script copies edk2-test-parser/* recursively to the repo.
Branch: https://github.com/aabhi64/edk2-test

Cc: G Edhaya Chandran <Edhaya.Chandran@arm.com>
Cc: Barton Gao <gaojie@byosoft.com.cn>
Cc: Carolyn Gjertsen <Carolyn.Gjertsen@amd.com>

Abhi Singh (1):
  uefi-sct/SctPkg: update path to edk2-test-parser, check for repo

 uefi-sct/SctPkg/buildzip.sh | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH v1 1/1] uefi-sct/SctPkg: update path to edk2-test-parser, check for repo
  2023-01-26 20:05 [PATCH v1 0/1] update path to edk2-test-parser, checks for repo Abhimanyu Singh
@ 2023-01-26 20:05 ` Abhimanyu Singh
  2023-02-13  6:49   ` [edk2-devel] " G Edhaya Chandran
  2023-02-15  0:51   ` Gao Jie
  0 siblings, 2 replies; 5+ messages in thread
From: Abhimanyu Singh @ 2023-01-26 20:05 UTC (permalink / raw)
  To: devel; +Cc: Edhaya.Chandran, gaojie, Carolyn.Gjertsen

buildzip.sh was referencing the obsolete sct_parser project
which has been replaced with edk2-test-parser.

The script now checks for the edk2-test-parser repo in $pwd,
if not present then the script exits and reminds the user to
clone edk2-test-parser.
Now the script copies edk2-test-parser/* recursively to the repo.

Cc: G Edhaya Chandran <Edhaya.Chandran@arm.com>
Cc: Barton Gao <gaojie@byosoft.com.cn>
Cc: Carolyn Gjertsen <Carolyn.Gjertsen@amd.com>

Signed-off-by: Abhi Singh <Abhi.Singh@arm.com>
---
 uefi-sct/SctPkg/buildzip.sh | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/uefi-sct/SctPkg/buildzip.sh b/uefi-sct/SctPkg/buildzip.sh
index cdbe80d74155..625475701f12 100755
--- a/uefi-sct/SctPkg/buildzip.sh
+++ b/uefi-sct/SctPkg/buildzip.sh
@@ -53,8 +53,15 @@ cp Build/UefiSct/RELEASE_GCC5/SctPackage${TARGET_ARCH}/SctStartup.nsh ${TARGET_A
 mkdir -p ${TARGET_ARCH}_SCT/Mde
 cp Build/MdeModule/RELEASE_GCC5/${TARGET_ARCH}/CapsuleApp.efi ${TARGET_ARCH}_SCT/Mde
 
-# Copy the SCT Parser tool into the repo
-cp sct_parser/* ${TARGET_ARCH}_SCT/SCT/Sequence/
+# Check if user has cloned edk-test-parser and buildzip.sh can access
+if [ ! -d "${pwd}edk2-test-parser" ]
+then
+        echo "edk2-test-parser repo is missing from current directory, please clone and try again"
+        exit
+fi
+
+# Copy edk2-test-parser tool into the repo
+cp -r edk2-test-parser/* ${TARGET_ARCH}_SCT/SCT/Sequence/
 
 # Put some version information into the ESP directory
 cat > ./${TARGET_ARCH}_SCT/versions.txt << EOF
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [edk2-devel] [PATCH v1 1/1] uefi-sct/SctPkg: update path to edk2-test-parser, check for repo
  2023-01-26 20:05 ` [PATCH v1 1/1] uefi-sct/SctPkg: update path to edk2-test-parser, check " Abhimanyu Singh
@ 2023-02-13  6:49   ` G Edhaya Chandran
  2023-02-15  0:51   ` Gao Jie
  1 sibling, 0 replies; 5+ messages in thread
From: G Edhaya Chandran @ 2023-02-13  6:49 UTC (permalink / raw)
  To: Abhimanyu Singh, devel

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

Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com>

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [edk2-devel] [PATCH v1 1/1] uefi-sct/SctPkg: update path to edk2-test-parser, check for repo
  2023-01-26 20:05 ` [PATCH v1 1/1] uefi-sct/SctPkg: update path to edk2-test-parser, check " Abhimanyu Singh
  2023-02-13  6:49   ` [edk2-devel] " G Edhaya Chandran
@ 2023-02-15  0:51   ` Gao Jie
  2023-02-21 15:00     ` G Edhaya Chandran
  1 sibling, 1 reply; 5+ messages in thread
From: Gao Jie @ 2023-02-15  0:51 UTC (permalink / raw)
  To: Abhimanyu Singh, devel

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

Reviewed-by: Barton Gao < gaojie@byosoft.com.cn >

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [edk2-devel] [PATCH v1 1/1] uefi-sct/SctPkg: update path to edk2-test-parser, check for repo
  2023-02-15  0:51   ` Gao Jie
@ 2023-02-21 15:00     ` G Edhaya Chandran
  0 siblings, 0 replies; 5+ messages in thread
From: G Edhaya Chandran @ 2023-02-21 15:00 UTC (permalink / raw)
  To: Gao Jie, devel

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

On Wed, Feb 15, 2023 at 06:21 AM, Gao Jie wrote:

> 
> Reviewed-by: Barton Gao < gaojie@... >

Upstreamed by the commit id: https://github.com/tianocore/edk2-test/commit/8713740892bdb857e970a2841de9800b2c6b5552

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-02-21 15:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-26 20:05 [PATCH v1 0/1] update path to edk2-test-parser, checks for repo Abhimanyu Singh
2023-01-26 20:05 ` [PATCH v1 1/1] uefi-sct/SctPkg: update path to edk2-test-parser, check " Abhimanyu Singh
2023-02-13  6:49   ` [edk2-devel] " G Edhaya Chandran
2023-02-15  0:51   ` Gao Jie
2023-02-21 15:00     ` G Edhaya Chandran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox