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
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#111059): https://edk2.groups.io/g/devel/message/111059
Mute This Topic: https://groups.io/mt/102513313/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-
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/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
Reviewed-by: G Edhaya Chandran <edhaya.chandran@arm.com> Thank you for the update. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112175): https://edk2.groups.io/g/devel/message/112175 Mute This Topic: https://groups.io/mt/102513313/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=-=-=-=-=-=-=-=-=-=-=-
© 2016 - 2026 Red Hat, Inc.