Skip to content

Commit

Permalink
Fix the destination of asset's copy (#1112)
Browse files Browse the repository at this point in the history
PR1058 introduced an issue, where assets meant to be copied to
/usr/local/bin were being copied to /usr/local/bin/bin.  Fix this.

Co-authored-by: Jiri Mencak <jmencak@users.noreply.github.com>
  • Loading branch information
jmencak and jmencak authored Jul 22, 2024
1 parent f00595e commit 10bb4c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/dockerfile_install_support.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [[ "${ID}" == "centos" ]]; then
dnf --setopt=protected_packages= history -y undo 0 # Remove builddep

INSTALL_PKGS="nmap-ncat procps-ng pciutils"
cp -r /root/assets/bin /usr/local/bin
cp -r /root/assets/bin/* /usr/local/bin
cp -r /root/rpmbuild/RPMS/noarch /root/rpms
mkdir -p /etc/grub.d/ /boot /var/lib/ocp-tuned
dnf install --setopt=tsflags=nodocs -y ${INSTALL_PKGS}
Expand All @@ -39,7 +39,7 @@ else
tuned-profiles-nfv-host tuned-profiles-openshift tuned-profiles-oracle tuned-profiles-postgresql tuned-profiles-realtime \
tuned-profiles-sap tuned-profiles-sap-hana tuned-profiles-spectrumscale \
nmap-ncat procps-ng pciutils"
cp -r /root/assets/bin /usr/local/bin
cp -r /root/assets/bin/* /usr/local/bin
mkdir -p /etc/grub.d/ /boot /var/lib/ocp-tuned
dnf install --setopt=tsflags=nodocs -y ${INSTALL_PKGS}
rm -rf /etc/tuned/recommend.d
Expand Down

0 comments on commit 10bb4c6

Please sign in to comment.