public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Guo Dong" <guo.dong@intel.com>
To: "Hsu, VictorX" <victorx.hsu@intel.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "Lu, James" <james.lu@intel.com>
Subject: Re: [PATCH] UefiPayloadPkg: Provide a wrapper for UniversalPayloadBuild.py
Date: Wed, 21 Sep 2022 05:16:37 +0000	[thread overview]
Message-ID: <CY5PR11MB6260DD418FE69AE190B964EA9E4F9@CY5PR11MB6260.namprd11.prod.outlook.com> (raw)
In-Reply-To: <a3aa61990843f2b5cf438040a56e9a67d2e66faa.1663726660.git.victorx.hsu@intel.com>


Reviewed-by: Guo Dong <guo.dong@intel.com>

-----Original Message-----
From: Hsu, VictorX <victorx.hsu@intel.com> 
Sent: Tuesday, September 20, 2022 7:19 PM
To: devel@edk2.groups.io
Cc: Hsu, VictorX <victorx.hsu@intel.com>; Dong, Guo <guo.dong@intel.com>; Lu, James <james.lu@intel.com>
Subject: [PATCH] UefiPayloadPkg: Provide a wrapper for UniversalPayloadBuild.py

From: VictorX Hsu <victorx.hsu@intel.com>

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4071

Provide a wrapper to wrap UniversalPayloadBuild.py

Cc: Guo Dong <guo.dong@intel.com>
Cc: James Lu <james.lu@intel.com>
Signed-off-by: VictorX Hsu <victorx.hsu@intel.com>
---
 UefiPayloadPkg/UniversalPayloadBuild | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 UefiPayloadPkg/UniversalPayloadBuild

diff --git a/UefiPayloadPkg/UniversalPayloadBuild b/UefiPayloadPkg/UniversalPayloadBuild
new file mode 100644
index 0000000000..fc3c2aadc9
--- /dev/null
+++ b/UefiPayloadPkg/UniversalPayloadBuild
@@ -0,0 +1,14 @@
+#!/bin/bash

+#

+# Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>

+#

+# SPDX-License-Identifier: BSD-2-Clause-Patent

+#

+

+if command -v ${PYTHON_COMMAND} >/dev/null 2>&1; then

+    echo python_exe=${PYTHON_COMMAND}

+fi

+

+upl_bldfile_path=${BASH_SOURCE:-$0}

+echo "upl_bldfile_path=$upl_bldfile_path"

+exec "${python_exe:-python}" "$upl_bldfile_path.py" "$@"

-- 
2.28.0.windows.1


  reply	other threads:[~2022-09-21  5:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-21  2:18 [PATCH] UefiPayloadPkg: Provide a wrapper for UniversalPayloadBuild.py victorx.hsu
2022-09-21  5:16 ` Guo Dong [this message]
2022-09-21  7:17 ` Lu, James
  -- strict thread matches above, loose matches on Subject: below --
2022-09-26  9:09 victorx.hsu
2022-09-26  9:42 ` Lu, James
2022-09-20  9:32 victorx.hsu

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=CY5PR11MB6260DD418FE69AE190B964EA9E4F9@CY5PR11MB6260.namprd11.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