pkgdep: Use major version of the pip bin
pip3 can come for different python releases (3.6, 3.7, etc.) and depending on which version is installed some maj.min bins may simply not exist. Change-Id: Iefc26902161e2e3578d07e99a9e742b132ef11f0 Signed-off-by: Michal Berger <michalx.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2565 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
59e44bcbb3
commit
6e08a3146c
@ -136,8 +136,8 @@ if [ -s /etc/redhat-release ]; then
|
||||
yum install -y python
|
||||
fi
|
||||
yum install -y python3-pip
|
||||
pip-3.6 install ninja
|
||||
pip-3.6 install meson
|
||||
pip3 install ninja
|
||||
pip3 install meson
|
||||
# Additional dependencies for SPDK CLI - not available in rhel and centos
|
||||
if ! echo "$ID $VERSION_ID" | grep -E -q 'rhel 7|centos 7'; then
|
||||
yum install -y python3-configshell python3-pexpect
|
||||
|
Loading…
Reference in New Issue
Block a user