public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Sunny Wang" <Sunny.Wang@arm.com>
To: "devel@edk2.groups.io" <devel@edk2.groups.io>,
	"rebecca@bsdio.com" <rebecca@bsdio.com>,
	G Edhaya Chandran <Edhaya.Chandran@arm.com>,
	Barton Gao <gaojie@byosoft.com.cn>,
	Carolyn Gjertsen <Carolyn.Gjertsen@amd.com>,
	Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>,
	Supreeth Venkatesh <Supreeth.Venkatesh@amd.com>
Cc: Sunny Wang <Sunny.Wang@arm.com>
Subject: Re: [edk2-devel] [PATCH edk2-test v2 1/4] Unbreak buildzip.sh
Date: Mon, 11 Dec 2023 11:05:49 +0000	[thread overview]
Message-ID: <AS8PR08MB7791A5EBCF672EB3F9150D94858FA@AS8PR08MB7791.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <20231110190811.956645-2-rebecca@bsdio.com>

Looks good to me.

The commit message looks a little confusing to me in the beginning because one of purposes to run the edksetup.sh is to correctly configure both WORKSPACE and PACKAGES_PATH.
However, since buildzip.sh can be independently run, it seems better to remove the line of sourcing edksetup.

Reviewed-by: Sunny Wang <sunny.wang@arm.com>

-----Original Message-----
From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of Rebecca Cran via groups.io
Sent: Friday, November 10, 2023 7:08 PM
To: devel@edk2.groups.io; G Edhaya Chandran <Edhaya.Chandran@arm.com>; Barton Gao <gaojie@byosoft.com.cn>; Carolyn Gjertsen <Carolyn.Gjertsen@amd.com>; Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>; Supreeth Venkatesh <Supreeth.Venkatesh@amd.com>
Cc: Rebecca Cran <rebecca@bsdio.com>
Subject: [edk2-devel] [PATCH edk2-test v2 1/4] Unbreak buildzip.sh

Unbreak buildzip.sh by removing the line sourcing edksetup.sh: unless
WORKSPACE and PACKAGES_PATH are already configured, edksetup.sh will
error out.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Contributed-under: TianoCore Contribution Agreement 1.1
---
 uefi-sct/SctPkg/buildzip.sh | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/uefi-sct/SctPkg/buildzip.sh b/uefi-sct/SctPkg/buildzip.sh
index 625475701f12..c7f4673f62b2 100755
--- a/uefi-sct/SctPkg/buildzip.sh
+++ b/uefi-sct/SctPkg/buildzip.sh
@@ -32,9 +32,6 @@ esac
 # clear all positional parameters
 set --

-source ./edk2/edksetup.sh
-
-
 NUM_CPUS=$((`getconf _NPROCESSORS_ONLN` + 2))

 make -j"$NUM_CPUS" -C edk2/BaseTools/
--
2.34.1






IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#112291): https://edk2.groups.io/g/devel/message/112291
Mute This Topic: https://groups.io/mt/102513313/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



  parent reply	other threads:[~2023-12-11 11:06 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-10 19:08 [edk2-devel] [PATCH edk2-test v2 0/4] Various improvements to the repo Rebecca Cran
2023-11-10 19:08 ` [edk2-devel] [PATCH edk2-test v2 1/4] Unbreak buildzip.sh Rebecca Cran
2023-12-07  9:33   ` G Edhaya Chandran
2023-12-11 11:05   ` Sunny Wang [this message]
2023-11-10 19:08 ` [edk2-devel] [PATCH edk2-test v2 2/4] Rename files in HowToBuild to avoid spaces in filenames Rebecca Cran
2023-11-29  8:06   ` G Edhaya Chandran
2023-12-07 12:39     ` G Edhaya Chandran
2023-12-11 16:07     ` Rebecca Cran
2023-12-11 16:44       ` G Edhaya Chandran
2023-12-11 11:09   ` Sunny Wang
2023-11-10 19:08 ` [edk2-devel] [PATCH edk2-test v2 3/4] Point users to the URL for edk2-test-parser if it doesn't exist Rebecca Cran
2023-11-29  8:11   ` G Edhaya Chandran
2023-11-10 19:08 ` [edk2-devel] [PATCH edk2-test v2 4/4] Fix the URL for the edk2-test repo Rebecca Cran
2023-11-13 14:48   ` Laszlo Ersek
2023-11-29  8:15     ` G Edhaya Chandran
2023-12-11 11:12   ` Sunny Wang
2023-12-11 17:24 ` [edk2-devel] [PATCH edk2-test v2 0/4] Various improvements to the repo Rebecca Cran
2023-12-15 21:25 ` Rebecca Cran
2023-12-16 16:30   ` G Edhaya Chandran

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=AS8PR08MB7791A5EBCF672EB3F9150D94858FA@AS8PR08MB7791.eurprd08.prod.outlook.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