File ovmf.OVMF_PYTHON_COMMAND.patch of Package xen
From: Olaf Hering <olaf@aepfle.de>
Date: Tue, 20 Jun 2023 11:21:57 +0000
Subject: OVMF_PYTHON_COMMAND
Signed-off-by: Olaf Hering <olaf@aepfle.de>
---
edksetup.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/edksetup.sh
+++ b/edksetup.sh
@@ -96,25 +96,25 @@ SetupEnv()
done
else
echo BaseTools not found in your tree, and EDK_TOOLS_PATH is not set.
echo Please check that WORKSPACE or PACKAGES_PATH is not set incorrectly
echo in your shell, or point EDK_TOOLS_PATH at the directory that contains
echo the EDK2 BuildEnv script.
return 1
fi
}
SetupPython3()
{
- export PYTHON_COMMAND=python3
+ export PYTHON_COMMAND=${OVMF_PYTHON_COMMAND:-python3}
}
SourceEnv()
{
SetupPython3
SetWorkspace
SetupEnv
}
I=$#
while [ $I -gt 0 ]
do