Revert "Merge amd-staging into amd-master 20230602"

Revert submission 869878

Reason for revert: <RPM package on RHEL9.x is broken>
Reverted Changes:
I4886ef2a6:Merge amd-staging into amd-master 20230602
I0f277acf3:Revert "Revert "Merge amd-staging into amd-master ...

Change-Id: Ie370327c8db0404c9cedde42c1376e3cec56fae0
This commit is contained in:
Hao Zhou
2023-06-02 02:12:07 -04:00
parent 8560d96c81
commit 5aa94c48d1
6 changed files with 48 additions and 126 deletions
+1 -6
View File
@@ -34,14 +34,9 @@ do_configureLogrotate() {
size 1M
copytruncate
dateext
dateformat .%%Y-%%m-%%d_%H:%%M:%%S
dateformat .%Y-%m-%d_%H:%M:%S
}
EOF
# Fix for %S argument not found (now we escape with %%)
# issue was RPM build thought we were using macros
# https://gitlab.kitware.com/cmake/cmake/-/issues/22965
# https://rpm-software-management.github.io/rpm/manual/spec.html
sudo sed -i s/%%/%/g /etc/logrotate.d/rocm_smi.conf
# workaround: remove extra 'OURCE' text
# from rocm_smi.conf. Unsure if CMAKE,
# bash, or here document