From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mx.groups.io with SMTP id smtpd.web12.9717.1663666378046232833 for ; Tue, 20 Sep 2022 02:32:59 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=WBx6pu7h; spf=pass (domain: intel.com, ip: 192.55.52.120, mailfrom: victorx.hsu@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663666378; x=1695202378; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=zgy5pnvTWTSephbXED/Bm5u3yJ7w0ZRRvDpUIKhQG1M=; b=WBx6pu7hgLCzDtfVtYzf1Z9meYlgzqDipAH39pEzh4/hb5TPIR6TK9bf aPTr6zxwlBVOYXz20OrZTSIz4evWI9DIjb7ezT705di8PkfFc4slmdo0G 9z8pslZvKmDiBL3q6MEIhsfgissBZNrbWI7+cT920MORgooxAZjeI7NJc NrPmkkGY5yquBXRMkOyX9YqNlqJSrPb9oewYdup/QGr2dzPNaHGwgZvmn U5s0GwRQeOv92JyFScrflpExSE6b5pIDTVaTxtBVsLg01DWekjKdHwEkI Iucbsa+8J9gPky1IE50OHTT4w6ARzRPfAKLHANDmi01Xo/wzuwDHhgxNN A==; X-IronPort-AV: E=McAfee;i="6500,9779,10475"; a="298372819" X-IronPort-AV: E=Sophos;i="5.93,330,1654585200"; d="scan'208";a="298372819" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Sep 2022 02:32:57 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,330,1654585200"; d="scan'208";a="614327644" Received: from hsuc1x-desk1.gar.corp.intel.com ([10.227.107.38]) by orsmga007.jf.intel.com with ESMTP; 20 Sep 2022 02:32:56 -0700 From: victorx.hsu@intel.com To: devel@edk2.groups.io Cc: VictorX Hsu , Guo Dong , James Lu Subject: [PATCH] UefiPayloadPkg: Provide a wrapper for UniversalPayloadBuild.py Date: Tue, 20 Sep 2022 17:32:27 +0800 Message-Id: X-Mailer: git-send-email 2.28.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: VictorX Hsu REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D4071 Provide a wrapper to wrap UniversalPayloadBuild.py Cc: Guo Dong Cc: James Lu Signed-off-by: VictorX Hsu --- UefiPayloadPkg/UniversalPayloadBuild | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 UefiPayloadPkg/UniversalPayloadBuild diff --git a/UefiPayloadPkg/UniversalPayloadBuild b/UefiPayloadPkg/Universa= lPayloadBuild new file mode 100644 index 0000000000..fc3c2aadc9 --- /dev/null +++ b/UefiPayloadPkg/UniversalPayloadBuild @@ -0,0 +1,14 @@ +#!/bin/bash=0D +#=0D +# Copyright (c) 2022, Intel Corporation. All rights reserved.
=0D +#=0D +# SPDX-License-Identifier: BSD-2-Clause-Patent=0D +#=0D +=0D +if command -v ${PYTHON_COMMAND} >/dev/null 2>&1; then=0D + echo python_exe=3D${PYTHON_COMMAND}=0D +fi=0D +=0D +upl_bldfile_path=3D${BASH_SOURCE:-$0}=0D +echo "upl_bldfile_path=3D$upl_bldfile_path"=0D +exec "${python_exe:-python}" "$upl_bldfile_path.py" "$@"=0D --=20 2.28.0.windows.1