From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR02-HE1-obe.outbound.protection.outlook.com (EUR02-HE1-obe.outbound.protection.outlook.com [40.107.1.67]) by mx.groups.io with SMTP id smtpd.web09.12464.1613757714718547866 for ; Fri, 19 Feb 2021 10:01:55 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=gfs4EPUK; spf=pass (domain: arm.com, ip: 40.107.1.67, mailfrom: grant.likely@arm.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TqYGJb2LkQBEigFKf/3dDlxX87WtfbcDejQWBiiosyY=; b=gfs4EPUKv/xgNzULjUegiOe6lqlgT2j7sMnPTJpqvg7nTv8ZCsiv93raI41j+7TM/su/8DlQ13GjQIX36Qr7tZ7iruqM25yBpsWrthmhdpQX4MrbOMSAM4KOf6B0ogr6BEZ/K2hnbESAJwlphZhAXvS7508hiyThCualYCZ4BqA= Received: from DB6P193CA0016.EURP193.PROD.OUTLOOK.COM (2603:10a6:6:29::26) by AS8PR08MB6262.eurprd08.prod.outlook.com (2603:10a6:20b:23e::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.28; Fri, 19 Feb 2021 18:01:51 +0000 Received: from DB5EUR03FT035.eop-EUR03.prod.protection.outlook.com (2603:10a6:6:29:cafe::51) by DB6P193CA0016.outlook.office365.com (2603:10a6:6:29::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.27 via Frontend Transport; Fri, 19 Feb 2021 18:01:51 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT035.mail.protection.outlook.com (10.152.20.65) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3868.27 via Frontend Transport; Fri, 19 Feb 2021 18:01:50 +0000 Received: ("Tessian outbound fb307b4548b2:v71"); Fri, 19 Feb 2021 18:01:50 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: e7c1eab392c43d8c X-CR-MTA-TID: 64aa7808 Received: from 6e57a603966e.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 2D076DED-0174-4546-8357-B304F0B28AB0.1; Fri, 19 Feb 2021 18:01:45 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 6e57a603966e.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 19 Feb 2021 18:01:45 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dcVXUV9tFupSsPDAHw8yp7Lmpw6q7Oo0Lg12gr+YyTNfihhCmt8eu4flAfV4/L3740y98WAtzPGXI1TuU6EEduEuY7aPeXhGxAGvpr1PyACreJNoKLDzm1Ru08P5ZNxNyues2jBBa+Kj5NDJaFtxgKroxo2SHv/KDyQkkTEShQ8i9+XD0KeewnD3DVg/D0qeYMXtVRd0GpgyZzFTq7O298XbLqCCxvBRq5KCGyQRjyp7QISE/zCJmkk5scKFuNXD3qVNDfCBjX+TqVxxBFEh9KCkSZcQ1q1+2XWQjo9OBYui5bs+XBJMrLFhIKjDNv0b+sBseIjsiXSm01QGMhCOVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TqYGJb2LkQBEigFKf/3dDlxX87WtfbcDejQWBiiosyY=; b=ZGgfQWCPM/01s3HFqNZfgXNynm3axRhqCq/My3TuM/ugLS/6QOja4C1OMqaimPKnk1SuKxbIr6qYBuJ90QZbGgAybkfTughHBcEz/wkwuDoOvIayO1IWfEzl5YlyO7IQHPaJCzuhB9YOVCk0yah/wm/24pdHfZrHsn8hrBSR8pTOm48FS0G5N2pRPFiqXw124nkTmJE78RlOPIQcVJ5oWHyYLxOPuOzgEDdFJMhq3VQsIAdK6kQ1q79lNQc9gvTAqmLhrtRGisuG6GyvLmJCjqUZQ8KtzB1bhOGeUA6TposjCuQEloO06h7R8Vcpay7iumS2FRizN+RcoGqlj/VBGQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TqYGJb2LkQBEigFKf/3dDlxX87WtfbcDejQWBiiosyY=; b=gfs4EPUKv/xgNzULjUegiOe6lqlgT2j7sMnPTJpqvg7nTv8ZCsiv93raI41j+7TM/su/8DlQ13GjQIX36Qr7tZ7iruqM25yBpsWrthmhdpQX4MrbOMSAM4KOf6B0ogr6BEZ/K2hnbESAJwlphZhAXvS7508hiyThCualYCZ4BqA= Authentication-Results-Original: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; Received: from DB8PR08MB4010.eurprd08.prod.outlook.com (2603:10a6:10:ab::15) by DB8PR08MB5114.eurprd08.prod.outlook.com (2603:10a6:10:e7::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.26; Fri, 19 Feb 2021 18:01:44 +0000 Received: from DB8PR08MB4010.eurprd08.prod.outlook.com ([fe80::715b:de9:c268:cfd9]) by DB8PR08MB4010.eurprd08.prod.outlook.com ([fe80::715b:de9:c268:cfd9%3]) with mapi id 15.20.3846.039; Fri, 19 Feb 2021 18:01:44 +0000 Subject: Re: [edk2-sct PATCH 3/3] edk2-test: Helper script to build SCT+Shell in a bootable format To: G Edhaya Chandran , "devel@edk2.groups.io" , Barton Gao Cc: nd , Samer El-Haj-Mahmoud References: <20210211174605.17937-1-grant.likely@arm.com> <20210211174605.17937-3-grant.likely@arm.com> From: "Grant Likely" Message-ID: Date: Fri, 19 Feb 2021 18:01:42 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 In-Reply-To: X-Originating-IP: [84.69.148.82] X-ClientProxiedBy: LO4P123CA0249.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a7::20) To DB8PR08MB4010.eurprd08.prod.outlook.com (2603:10a6:10:ab::15) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.16.178] (84.69.148.82) by LO4P123CA0249.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a7::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3846.38 via Frontend Transport; Fri, 19 Feb 2021 18:01:43 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: e5c01091-054e-4093-1291-08d8d5006ee2 X-MS-TrafficTypeDiagnostic: DB8PR08MB5114:|AS8PR08MB6262: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:8882;OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: iltlQXGLxWzgknBDlcuuKqikhO8TwxJF8IVdt729Knj1Kv/2xqWtRT+rlnrPCY5Ap68JpJNkU8KQ6w/JOpG99SDk+1o4UgpaTUUuT64aF2aoNasKJ4PCNpDua8BGIA/uqKx0SvfH77ZFL7vf4gAIsPrX+ktyXCvgyxnBCiRfF35pKmtMweWNUXWsvgCdj994gwsWmPsHHr6PJRD23KqnT1gPOLZa1n7jf+brG7jIS7PPOrTOxRFp+S6B3dXoaAuoyTxZV9VjvrjpG3rP8gnftEB5W43J9gQpBoVG7pU42hf+t2S8axHRFLfp+hAAMqemqrcYpk+lPuEDTVnUq3SMjJWXUooll6HPm/J7alwmOAv1Fil/2rX6GK9GBzDhD9j5wrz1WH+TM110u47dyD8dI+2rItRjVBAbfSi542WGSnLGRrPsC1DH7iMb1xcIuvj4XY2Scc+t3PTtCl3vlBJgyzESMbo13Mj5YQVDAm19TfkLx4+IistXDHLSiz3AJHVeeyePB1Gd98uccnc4tIffGz34QDos2BZ6NRkWM0ugqHL/jVMMKmvMnuRSpCm4zSNFHcvKsq46bzY80hwZtuHSFNuuE9ATEjC2VF8nHZsfqRs7zADMM3OCdxQvcwUfs34LTas2okJMl/j51PB2aYOq8g6blejMbByDoGOFk8I1MhbAxg2DTzxINWiHQJVPaMh9 X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB8PR08MB4010.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(136003)(39860400002)(366004)(346002)(376002)(396003)(83380400001)(66556008)(52116002)(31686004)(2906002)(2616005)(54906003)(8936002)(16526019)(4326008)(16799955002)(5660300002)(186003)(53546011)(956004)(66476007)(16576012)(478600001)(31696002)(66946007)(36756003)(44832011)(316002)(8676002)(966005)(6486002)(26005)(110136005)(86362001)(15188155005)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?b3FnR0J6bUtVZkxZTWtJWG9lNSt6NUVHRk1vazJ6QXpYYmEzRTFYYmRRaW80?= =?utf-8?B?YjU2V0NJdThhcUE1TWl3Y2MyQmpaanFjUSszSGdEaTBYQjY0U0p6QVJDeTFZ?= =?utf-8?B?RUpyT0xNRTgxbWhTTHY3MDZXYlpMVFk5UURGejlDeTZDQllyWUNkSDQrek5p?= =?utf-8?B?Qm8vUXhuRitMcVJqeEQ0N2luRGN6eXpGWDduK2w4OENTek51dEp0aEVFTEVL?= =?utf-8?B?UlJmTUhsbnczVzBQOWdGVDI4ZlFXMmE2UDcweEp2TityY2FXcENpRHh5NHB5?= =?utf-8?B?aXI4SHo5NnpjWW9kdzFSdzRaRyt6cWlFVXpReGdzM2c0OTdmYUpCbzFFV0Fr?= =?utf-8?B?ZW1nZEwvMFRmcnRSZ09SMTE2NlJKY25EenRoTUpWR1dLc3doRFpBVWFodTJi?= =?utf-8?B?TzNOeEhTVDk5SXczQ0ppbkorditndnE4bTN3RjVMZHdLYTJqM1NrcXNMUitS?= =?utf-8?B?UjY3ZWI5YlI5N08rdjlwTllKSnkvZHFzUnB1S1M4ek52SjA0dkhLRnhtUkZD?= =?utf-8?B?cVhPVWlSR0p2U1B1cURxb3l3WU12SXBnck16WC9JRE02MVFWb3Nwdkh2N2RB?= =?utf-8?B?alZ1MDlzU0dINlFEN3RubUo0U2VYaGZ5ZzcvWm4yMDJEV3VnTnRFWmFGQkVG?= =?utf-8?B?Z3J0T3VOdGpOYXlQYTgwdllSSDZVU1VHWVk4K3dOdHFYRk0zMmUrTmNrUFpo?= =?utf-8?B?VGRVTzB2ckdQdFVvVGIrM1dySjVZRXVib0x0UzVaTFAwVG0zOVNoeEtodk9N?= =?utf-8?B?OXRCTTcyL21NMGZGSnNjaW5ydGkxc0JLL0o0NStWZlRiL2ZlTC9kR25pa3Fa?= =?utf-8?B?TmU2MTIrdWNGMXVGODl0Qlo5NVpId2M5ekZMZTIvdlNjbHpYU3lzMmJBMi9O?= =?utf-8?B?OXpKd1RnMU1GSzAzekVTTVJRWDRCTlFicTVzelVYOG5yMGtPWFVyclhwdTlz?= =?utf-8?B?Ym5GM3V4ZnBGaDdjSmsrWmRzU1dtT3hGNW9jVzNPSmFGZmh5ditoeEJTeWlE?= =?utf-8?B?Z2t4NTZCRWVKNjdRRXRXQTZrKys1ejVpcDduMno3a2hsOS90b1pWTzhIVnFh?= =?utf-8?B?UUxDSms1WThqTW5naXF3Z2VENDZLZm01OTZvaDVSSmhla0N0eEp2TTAxc2lB?= =?utf-8?B?UlBYZnVyVGRhRlhlYWFrVytSd1dneHgvNjRPYmQzYWlsKzZFaVNDSzNsRVR0?= =?utf-8?B?MUNyczJkOERvK0MyUG9SWHNGazQ3MXF6RFdVbmFDcUh3TWFzTjhsbnNDcmo1?= =?utf-8?B?Zk5nVEpsSm95eW1yT0xhVVI2WCtOd0JYV3lUekhkYXpUUUtiRDM5ZUsvdDVN?= =?utf-8?B?UnhlQ05LN01ubGlGdlRHNHJHMGNsTjY3ZmRNRWhPSkw5VDQ0MmpVZDZldno0?= =?utf-8?B?L0Yxc0loYkxuYk9PZFhUZFBYNmplQk5tQ1JzSmFBYzUzOENRek1pUENIa1dV?= =?utf-8?B?WUNKaEgrYWRBT3JWekVGVjF4SEdEK25GOUNEL09Ec213V3Z5NVk4SndXUXNR?= =?utf-8?B?L2hUVjhlb2M3YWJHNjNJbjB4YUIrWHQxVzI4Yk5EcG5tZ04yUlhIRmxqdXdW?= =?utf-8?B?M0djR203cG1aSTFkRENFM0s0dkpIVFhxL0JZYmdGOXk1V3R4OGVCYWFleGVp?= =?utf-8?B?ZDRRUVp4TE1GQ1M5SmpMY0s0MVdJZnppejhuVFlMMFlUL2RTNi9TbGt3eVc2?= =?utf-8?B?VmJOYUd4LzlRcVAwTFlOcGtEbiszeXJVa1B6bzNQNmY2Vm9tQ1A2UytpS3NG?= =?utf-8?Q?mcDz0s4pt9AnK6sN1kZDuLKmkBM3ew25WrHNSTF?= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5114 Original-Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; Return-Path: Grant.Likely@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT035.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 3c4961e2-667d-4da5-fa8e-08d8d5006a91 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: gc/vbd5Kofgu+2HtlkSQp06mNivam6Gt//vTQCmJ4FyJVR44IB5Wisj+xcKF37wF6o4pOgVEOR2SwvaboArSRWs7WmlzpvxLyZrkDcApvHPZF7Aq/EmJJ64dS6gFZ5EWczg5cr9XYbljdWeCwS9AWHgcx+eL2LkLuZ2MablWfbdV2ayeEg0iaTUWWETstEbo/jfqf9CU3ABmN7HPg9uohK58qVdSbFZO70W41RCqf5XdbjyRGlAjBqqOwE36BYqcO+jXk+D5YBC5DnCWXE517Lw0ZAKhiIXxG/Cybs2+qLJ7RIzXg9ey9UudoFjptpN0oGw4cMn7JSJshK7tB4ZcRXdMkCSMx86p6vQ1kgE7uBNCS1LeaXI1WUHll0Ke/53jwqByN1Z0rZANAa0nfSN3/8Cc2SAnJMN2AMVX43ETDesNS4Gpil/4NlViSQGB+zDs7bbuODDEi/w2hQL0g2ggpPMPChMEi2QGbDXsm083hvuNiv/Lr65k+lZXPG6LdWByqf21PXcVSkIQFzX+pjgFWoJlUJeysmL7ni+flcPw9+5n2pm0fF+ke62WIX90+q1G2XwIjCN3bYNsYrZvKVEM+kSQR7gevKlQUDnz2STwCZk9S03tjAmwBjqiz/lpCBZBwEbRd8IkOchJ/Eh8h5ar4VbY9YjU4lu/RSMD5w6wZsKEJpFpFoPQ3Xs+7fRmXzQcDUr/fS29lFd5yVvkTC/U3N+pihBXOf0ul9CBev2tzX9LYDJwumS7d9vsN4GgAFNbf+r2zQViGgQQMGVInNizdg== X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(4636009)(396003)(39860400002)(376002)(136003)(346002)(36840700001)(46966006)(8936002)(36756003)(16576012)(44832011)(966005)(5660300002)(31686004)(16799955002)(8676002)(86362001)(186003)(2616005)(956004)(336012)(16526019)(70586007)(26005)(70206006)(6486002)(478600001)(2906002)(47076005)(15188155005)(316002)(53546011)(82740400003)(110136005)(83380400001)(81166007)(36860700001)(82310400003)(356005)(4326008)(54906003)(31696002)(43740500002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Feb 2021 18:01:50.9891 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e5c01091-054e-4093-1291-08d8d5006ee2 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DB5EUR03FT035.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6262 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit On 15/02/2021 12:30, G Edhaya Chandran wrote: > Hi Grant, > > A minor comment: > > +getconf _NPROCESSORS_ONLN > This print may not be needed. No, not needed. I seem to have left in a debug bit. Do you need me to respin the series, or can I just submit a followup patch to clean it up? g. > > > With Warm Regards, > Edhay > > >> -----Original Message----- >> From: Grant Likely >> Sent: 11 February 2021 23:16 >> To: devel@edk2.groups.io; G Edhaya Chandran ; >> Barton Gao >> Cc: nd ; Samer El-Haj-Mahmoud > Mahmoud@arm.com>; Grant Likely >> Subject: [edk2-sct PATCH 3/3] edk2-test: Helper script to build SCT+Shell in a >> bootable format >> >> The buildzip.sh script builds the SCT and the EFI Shell, and then zips them up in >> a file structure that can be booted when unzipped to a USB drive or other block >> storage. >> >> Signed-off-by: Grant Likely >> --- >> uefi-sct/SctPkg/buildzip.sh | 67 +++++++++++++++++++++++++++++++++++++ >> 1 file changed, 67 insertions(+) >> create mode 100755 uefi-sct/SctPkg/buildzip.sh >> >> diff --git a/uefi-sct/SctPkg/buildzip.sh b/uefi-sct/SctPkg/buildzip.sh new file >> mode 100755 index 00000000..c5bf20df >> --- /dev/null >> +++ b/uefi-sct/SctPkg/buildzip.sh >> @@ -0,0 +1,67 @@ >> +#!/bin/bash >> +# >> +# EDK2 SCT build script for SCT+Shell in a zip file # # Copyright (c) >> +2021, ARM Ltd. All rights reserved. >> +# >> +# This program and the accompanying materials # are licensed and made >> +available under the terms and conditions of the BSD License # which >> +accompanies this distribution. The full text of the license may be >> +found at # http://opensource.org/licenses/bsd-license.php >> +# >> +# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" >> +BASIS, # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, >> EITHER EXPRESS OR IMPLIED. >> + >> +set -e >> + >> +TARGET_ARCH=$1 >> + >> +if [ X"${TARGET_ARCH}" == X"" ] >> +then >> + echo "Usage: $0 " >> + exit >> +fi >> + >> +case $TARGET_ARCH in >> + AARCH64) >> + BOOT_IMAGE_NAME=BOOTAA64.efi;; >> + *) >> + BOOT_IMAGE_NAME=BOOT${TARGET_ARCH}.efi;; >> +esac >> + >> +# clear all positional parameters >> +set -- >> + >> +source ./edk2/edksetup.sh >> + >> +getconf _NPROCESSORS_ONLN >> +NUM_CPUS=$((`getconf _NPROCESSORS_ONLN` + 2)) >> + >> +make -j"$NUM_CPUS" -C edk2/BaseTools/ >> + >> +# Build the SCT and the shell >> +DSC_EXTRA=ShellPkg/ShellPkg.dsc ./SctPkg/build.sh ${TARGET_ARCH} GCC >> RELEASE -j"$NUM_CPUS" >> + >> +# Assemble all the files that need to be in the zip file mkdir -p >> +${TARGET_ARCH}_SCT/EFI/BOOT cp >> +Build/Shell/RELEASE_GCC5/${TARGET_ARCH}/Shell_EA4BB293-2D7F-4456- >> A681-1 >> +F22F42CD0BC.efi ${TARGET_ARCH}_SCT/EFI/BOOT/${BOOT_IMAGE_NAME} >> + >> +mkdir -p ${TARGET_ARCH}_SCT/SCT >> +cp -r >> +Build/UefiSct/RELEASE_GCC5/SctPackage${TARGET_ARCH}/${TARGET_ARCH} >> /* >> +${TARGET_ARCH}_SCT/SCT/ cp >> +Build/UefiSct/RELEASE_GCC5/SctPackage${TARGET_ARCH}/SctStartup.nsh >> +${TARGET_ARCH}_SCT/Startup.nsh >> + >> +# Copy the SCT Parser tool into the repo cp sct_parser/* >> +${TARGET_ARCH}_SCT/SCT/Sequence/ >> + >> +# Put some version information into the ESP directory cat > >> +./${TARGET_ARCH}_SCT/versions.txt << EOF EDK2_VER=`git -C ./edk2 >> +describe` EDK2_TEST_VER=`git -C ./edk2-test describe` >> +BUILD_DATE="`date`" >> +EOF >> + >> +# Zip up the test folder >> +cd ${TARGET_ARCH}_SCT >> +zip -r ../edk2-test-${TARGET_ARCH,,}.zip * cd .. >> + >> -- >> 2.20.1 >