ipmctl/ipmctl-python3.patch
Raymund Will 02dc5758a2 Accepting request 684769 from home:rwill:branches:hardware:nvdimm
- Update to version v01.00.00.3440.
  - Support more than 16 sockets.  [FATE327556, bsc#1123735]
  - Fix flashing FW of DCPMM modules.  [bsc#1128830]

OBS-URL: https://build.opensuse.org/request/show/684769
OBS-URL: https://build.opensuse.org/package/show/hardware:nvdimm/ipmctl?expand=0&rev=23
2019-03-13 17:45:23 +00:00

244 lines
10 KiB
Diff

---
BaseTools/Bin/CYGWIN_NT-5.1-i686/Ecc | 2 ++
BaseTools/Bin/CYGWIN_NT-5.1-i686/GenDepex | 2 ++
BaseTools/Bin/CYGWIN_NT-5.1-i686/GenFds | 2 ++
BaseTools/Bin/CYGWIN_NT-5.1-i686/TargetTool | 2 ++
BaseTools/Bin/CYGWIN_NT-5.1-i686/Trim | 2 ++
BaseTools/Bin/CYGWIN_NT-5.1-i686/build | 2 ++
BaseTools/BinWrappers/PosixLike/BPDG | 2 ++
BaseTools/BinWrappers/PosixLike/Ecc | 2 ++
BaseTools/BinWrappers/PosixLike/GenDepex | 2 ++
BaseTools/BinWrappers/PosixLike/GenFds | 2 ++
BaseTools/BinWrappers/PosixLike/GenPatchPcdTable | 2 ++
BaseTools/BinWrappers/PosixLike/PatchPcdValue | 2 ++
BaseTools/BinWrappers/PosixLike/Pkcs7Sign | 2 ++
BaseTools/BinWrappers/PosixLike/Rsa2048Sha256GenerateKeys | 2 ++
BaseTools/BinWrappers/PosixLike/Rsa2048Sha256Sign | 2 ++
BaseTools/BinWrappers/PosixLike/TargetTool | 2 ++
BaseTools/BinWrappers/PosixLike/Trim | 2 ++
BaseTools/BinWrappers/PosixLike/UPT | 2 ++
BaseTools/BinWrappers/PosixLike/build | 2 ++
BaseTools/Tests/GNUmakefile | 2 +-
20 files changed, 39 insertions(+), 1 deletion(-)
--- a/BaseTools/Bin/CYGWIN_NT-5.1-i686/Ecc
+++ b/BaseTools/Bin/CYGWIN_NT-5.1-i686/Ecc
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/Bin/CYGWIN_NT-5.1-i686/GenDepex
+++ b/BaseTools/Bin/CYGWIN_NT-5.1-i686/GenDepex
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/Bin/CYGWIN_NT-5.1-i686/GenFds
+++ b/BaseTools/Bin/CYGWIN_NT-5.1-i686/GenFds
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/Bin/CYGWIN_NT-5.1-i686/TargetTool
+++ b/BaseTools/Bin/CYGWIN_NT-5.1-i686/TargetTool
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/Bin/CYGWIN_NT-5.1-i686/Trim
+++ b/BaseTools/Bin/CYGWIN_NT-5.1-i686/Trim
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/Bin/CYGWIN_NT-5.1-i686/build
+++ b/BaseTools/Bin/CYGWIN_NT-5.1-i686/build
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/BinWrappers/PosixLike/BPDG
+++ b/BaseTools/BinWrappers/PosixLike/BPDG
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/BinWrappers/PosixLike/Ecc
+++ b/BaseTools/BinWrappers/PosixLike/Ecc
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/BinWrappers/PosixLike/GenDepex
+++ b/BaseTools/BinWrappers/PosixLike/GenDepex
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/BinWrappers/PosixLike/GenFds
+++ b/BaseTools/BinWrappers/PosixLike/GenFds
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/BinWrappers/PosixLike/GenPatchPcdTable
+++ b/BaseTools/BinWrappers/PosixLike/GenPatchPcdTable
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/BinWrappers/PosixLike/PatchPcdValue
+++ b/BaseTools/BinWrappers/PosixLike/PatchPcdValue
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/BinWrappers/PosixLike/Pkcs7Sign
+++ b/BaseTools/BinWrappers/PosixLike/Pkcs7Sign
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/BinWrappers/PosixLike/Rsa2048Sha256GenerateKeys
+++ b/BaseTools/BinWrappers/PosixLike/Rsa2048Sha256GenerateKeys
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/BinWrappers/PosixLike/Rsa2048Sha256Sign
+++ b/BaseTools/BinWrappers/PosixLike/Rsa2048Sha256Sign
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/BinWrappers/PosixLike/TargetTool
+++ b/BaseTools/BinWrappers/PosixLike/TargetTool
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/BinWrappers/PosixLike/Trim
+++ b/BaseTools/BinWrappers/PosixLike/Trim
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/BinWrappers/PosixLike/UPT
+++ b/BaseTools/BinWrappers/PosixLike/UPT
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/BinWrappers/PosixLike/build
+++ b/BaseTools/BinWrappers/PosixLike/build
@@ -4,6 +4,8 @@
# If a python2 command is available, use it in preference to python
if command -v python2 >/dev/null 2>&1; then
python_exe=python2
+elif command -v python3 >/dev/null 2>&1; then
+ python_exe=python3
fi
full_cmd=${BASH_SOURCE:-$0} # see http://mywiki.wooledge.org/BashFAQ/028 for a discussion of why $0 is not a good choice here
--- a/BaseTools/Tests/GNUmakefile
+++ b/BaseTools/Tests/GNUmakefile
@@ -14,7 +14,7 @@
all: test
test:
- @if command -v python2 >/dev/null 2>&1; then python2 RunTests.py; else python RunTests.py; fi
+ @if command -v python2 >/dev/null 2>&1; then python2 RunTests.py; elif command -v python3 >/dev/null 2>&1; then python3 RunTests.py; else python RunTests.py; fi
clean:
find . -name '*.pyc' -exec rm '{}' ';'