From nobody Sun May 19 14:32:58 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+99096+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99096+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=arm.com ARC-Seal: i=1; a=rsa-sha256; t=1674763809; cv=none; d=zohomail.com; s=zohoarc; b=Q6emzf7zS5LtuiW/TPTcCXPQs+c54wgxshMLCz72Vo+7bvebAX4rRFCtryTTs/vzgP8W6RUCndrPjpLDRQYTJ57aruVQ7wxHc3DuHVNvdgYwVTprg9+yQBxzePLXrxI7mt9TYC3ffgXNBiKakiNHBjOA3zVc8m1t8KA/w6DrqCM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1674763809; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=wn8kITrCehpP5u8Fhg5psRFcghdEOMRzcnHdQXswrSA=; b=feVOVEhMsidlaU8vi1g5DViiJNt2XxhJOm1gaMYBTthPpYD9lK7RsehDSKcekFXYcnUIxYqu0M2cLJAYBk4ug5ygvY6joDt2umn4bZu5S53o5pKZZwaUCMLEqhAhZ+VsagGbURj9Lj13dA39nELdvi2mm2KH1ZjoGgVd9FashO4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+99096+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1674763809347689.6180044344997; Thu, 26 Jan 2023 12:10:09 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id 05J4YY1788612xDWgrqT71uk; Thu, 26 Jan 2023 12:10:07 -0800 X-Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.84898.1674763523805840103 for ; Thu, 26 Jan 2023 12:05:24 -0800 X-Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2008CC14; Thu, 26 Jan 2023 12:06:05 -0800 (PST) X-Received: from abhsin07-ThinkStation-P720.austin.arm.com (abhsin07-ThinkStation-P720.austin.arm.com [10.118.29.242]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 333EC3F71E; Thu, 26 Jan 2023 12:05:23 -0800 (PST) From: "Abhimanyu Singh" To: devel@edk2.groups.io Cc: Edhaya.Chandran@arm.com, gaojie@byosoft.com.cn, Carolyn.Gjertsen@amd.com Subject: [edk2-devel] [PATCH v1 1/1] uefi-sct/SctPkg: update path to edk2-test-parser, check for repo Date: Thu, 26 Jan 2023 14:05:17 -0600 Message-Id: <20230126200517.871991-2-Abhi.Singh@arm.com> In-Reply-To: <20230126200517.871991-1-Abhi.Singh@arm.com> References: <20230126200517.871991-1-Abhi.Singh@arm.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,Abhi.Singh@arm.com X-Gm-Message-State: xL1MnrDiV7MJTJnyBOsaAPq2x1787277AA= Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1674763807; bh=YbrVIJCA3PYV8tyIxygOS+kHhKKPGLUOqCbmwX8UM+o=; h=Cc:Date:From:Reply-To:Subject:To; b=DHo0ExbxOZ6zUhRO4ENRSonSOAENgwg5fv8eGDM7TCxpuVvmZs6UqlhG4xLqa7R39L/ itURdmGV5szlYBUgVugXpvYobrNnHwPogiWcEplthHxXkEZ8lbAUx0NLXPdgG+pmElleU doWSnj/x8Nfzv34GKyLpmf9ksKYT/Dd4pqs= X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1674763810766100003 Content-Type: text/plain; charset="utf-8" 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 Cc: Barton Gao Cc: Carolyn Gjertsen Signed-off-by: Abhi Singh Reviewed-by: Barton Gao < gaojie@byosoft.com.cn > Reviewed-by: G Edhaya Chandran --- 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}/S= ctStartup.nsh ${TARGET_A mkdir -p ${TARGET_ARCH}_SCT/Mde cp Build/MdeModule/RELEASE_GCC5/${TARGET_ARCH}/CapsuleApp.efi ${TARGET_ARC= H}_SCT/Mde =20 -# 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, ple= ase clone and try again" + exit +fi + +# Copy edk2-test-parser tool into the repo +cp -r edk2-test-parser/* ${TARGET_ARCH}_SCT/SCT/Sequence/ =20 # Put some version information into the ESP directory cat > ./${TARGET_ARCH}_SCT/versions.txt << EOF --=20 2.25.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#99096): https://edk2.groups.io/g/devel/message/99096 Mute This Topic: https://groups.io/mt/96551593/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-