Skip to content

Commit

Permalink
HACKS for rhel-10 testing
Browse files Browse the repository at this point in the history
- disable EPEL
- install pahole
  • Loading branch information
joe-lawrence committed Nov 26, 2024
1 parent 7f95518 commit 5f63912
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions test/integration/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,14 +69,18 @@ kpatch_rhel_dependencies()
fi
[[ "$arch" == "x86_64" ]] && sudo yum install -y pesign

# ccache
if ! command -v ccache &> /dev/null; then
if ! sudo yum install -y ccache; then
sudo yum install -y "https://dl.fedoraproject.org/pub/epel/epel-release-latest-${rhel_major}.noarch.rpm" && \
sudo yum install -y ccache && \
sudo yum remove -y epel-release
fi
if [[ "${rhel_major}" == "10" ]]; then
yum install -y pahole
fi

### # ccache
### if ! command -v ccache &> /dev/null; then
### if ! sudo yum install -y ccache; then
### sudo yum install -y "https://dl.fedoraproject.org/pub/epel/epel-release-latest-${rhel_major}.noarch.rpm" && \
### sudo yum install -y ccache && \
### sudo yum remove -y epel-release
### fi
### fi
}

kpatch_centos_dependencies()
Expand Down

0 comments on commit 5f63912

Please sign in to comment.