Skip to content

Commit

Permalink
ibmcloud-powervs: Install additional packages
Browse files Browse the repository at this point in the history
Install additional packages like protobuf-compiler and device-mapper-devel as move from centos/8-stream to centos/9-stream

Signed-off-by: Vaibhav-Nazare <[email protected]>
  • Loading branch information
Vaibhav-Nazare authored and bpradipt committed Sep 6, 2024
1 parent 91efcb3 commit 81485e1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/cloud-api-adaptor/ibmcloud-powervs/image/prereq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,15 @@
# FIXME to pickup these values from versions.yaml
GO_VERSION="1.21.12"
RUST_VERSION="1.75.0"
SKOPEO_VERSION="1.5.0"

# Install dependencies
yum install -y curl protobuf-compiler libseccomp-devel openssl openssl-devel perl skopeo-${SKOPEO_VERSION}
yum install -y curl libseccomp-devel openssl openssl-devel skopeo clang clang-devel

wget https://rpmfind.net/linux/centos-stream/9-stream/CRB/ppc64le/os/Packages/protobuf-compiler-3.14.0-13.el9.ppc64le.rpm
yum install -y protobuf-compiler-3.14.0-13.el9.ppc64le.rpm

wget https://www.rpmfind.net/linux/centos-stream/9-stream/CRB/ppc64le/os/Packages/device-mapper-devel-1.02.197-2.el9.ppc64le.rpm
yum install -y device-mapper-devel-1.02.197-2.el9.ppc64le.rpm

# Install Golang
curl https://dl.google.com/go/go${GO_VERSION}.linux-ppc64le.tar.gz -o go${GO_VERSION}.linux-ppc64le.tar.gz && \
Expand Down

0 comments on commit 81485e1

Please sign in to comment.