Skip to content

Commit f8ecd08

Browse files
committed
Allow URL for conrep to be specified
1 parent 41c2f13 commit f8ecd08

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

elements/ipa-extra-hardware-hp/README.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,11 @@ ipa-extra-hardware-hp
33
=====================
44
Installs HP specific software required for cardiff
55
(`hardware <https://pypi.org/project/hardware/>`_) benchmarks
6+
7+
* ``DIB_IPA_EXTRA_HARDWARE_CONREP_RPM``: URL of an RPM file that provides the ``conrep`` utility.
8+
See `<ddr-timings https://github.com/stackhpc/ddr-timings>`_.
9+
For example:
10+
11+
.. code-block::
12+
13+
export DIB_IPA_EXTRA_HARDWARE_CONREP_RPM="https://downloads.hpe.com/pub/softlib2/software1/pubsw-linux/p1201555626/v164819/rhel7/x86_64/hp-scripting-tools-11.40-9.rhel7.x86_64.rpm"

elements/ipa-extra-hardware-hp/environment.d/10-extra-rpms

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
# hp-scripting-tools - provides conrep for bios version, settings etc.
55

66
# FIXME: RedHat family only
7-
DIB_RPMS_EXTRA="https://downloads.hpe.com/pub/softlib2/software1/pubsw-linux/p1201555626/v164819/rhel7/x86_64/hp-scripting-tools-11.40-9.rhel7.x86_64.rpm"
7+
8+
CONREP_RPM=${DIB_IPA_EXTRA_HARDWARE_CONREP_RPM:-"https://downloads.hpe.com/pub/softlib2/software1/pubsw-linux/p1201555626/v164819/rhel7/x86_64/hp-scripting-tools-11.40-9.rhel7.x86_64.rpm"}
9+
DIB_RPMS_EXTRA="$CONREP_RPM"
810

911
# prepend packages to the existing list if it has been defined
1012
if [ ! -z ${DIB_RPMS:+x} ]; then

0 commit comments

Comments
 (0)