Skip to content

Commit c0aa0b9

Browse files
oleksandrivantsivShuotian Cheng
authored and
Shuotian Cheng
committed
[Mellanox]: Update Mellanox HW management to V1.0.0030 (#209)
1 parent 1b49499 commit c0aa0b9

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

platform/mellanox/hw-management.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Mellanox HW Management
22

3-
MLNX_HW_MANAGEMENT_VERSION = 20.7.2016
3+
MLNX_HW_MANAGEMENT_VERSION = V1.0.0030
44

55
export MLNX_HW_MANAGEMENT_VERSION
66

platform/mellanox/hw-management/Makefile

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,13 @@ MAIN_TARGET = hw-management_1.mlnx.$(MLNX_HW_MANAGEMENT_VERSION)_amd64.deb
66
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
77
# get sources
88
sudo rm -rf hw-management
9-
wget -N -O mlnx-hw-mgmt-$(MLNX_HW_MANAGEMENT_VERSION).tar.gz https://github.com/Mellanox/mellanox-openswitch/raw/master/hw-mgmt/mlnx-hw-mgmt-$(MLNX_HW_MANAGEMENT_VERSION).tar.gz
10-
tar xzf mlnx-hw-mgmt-$(MLNX_HW_MANAGEMENT_VERSION).tar.gz
9+
git clone https://github.com/Mellanox/hw-mgmt/ -b $(MLNX_HW_MANAGEMENT_VERSION) hw-management
1110

1211
# build
1312
pushd hw-management
14-
sudo debian/rules binary KVERSION=$(KVERSION)
13+
sed "s~@SED_VERSION@~$(MLNX_HW_MANAGEMENT_VERSION)~" -i debian/changelog
14+
chmod +x ./debian/rules
15+
sudo ./debian/rules binary KVERSION=$(KVERSION)
1516
popd
1617

1718
mv $* $(DEST)/

0 commit comments

Comments
 (0)