Skip to content

Commit f892666

Browse files
author
Stepan Blyschak
committed
[dockers] update mellanox syncd and pmon to buster
Updated sonic-sairedis pointer: d54bfb4 [SAI] update pointer (#636) 1885a8c [syncd] Fix notification on shutdown request (#635) 9e57ba2 Fixing hostif For Genetlink host interfaces (#633) 449a092 sonic-sairedis: Add support to sonic-sairedis for gearbox phys (#632) Signed-off-by: Stepan Blyschak <[email protected]>
1 parent 6ebcfb2 commit f892666

15 files changed

+89
-77
lines changed

dockers/docker-platform-monitor/Dockerfile.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% from "dockers/dockerfile-macros.j2" import install_debian_packages, install_python_wheels, copy_files %}
2-
FROM docker-config-engine-stretch
2+
FROM docker-config-engine-buster
33

44
ARG docker_container_name
55
RUN [ -f /etc/rsyslog.conf ] && sed -ri "s/%syslogtag%/$docker_container_name#%syslogtag%/;" /etc/rsyslog.conf

platform/mellanox/docker-syncd-mlnx-rpc.mk

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ endif
1414
$(DOCKER_SYNCD_MLNX_RPC)_PYTHON_DEBS += $(MLNX_SFPD)
1515
$(DOCKER_SYNCD_MLNX_RPC)_LOAD_DOCKERS += $(DOCKER_SYNCD_BASE)
1616
SONIC_DOCKER_IMAGES += $(DOCKER_SYNCD_MLNX_RPC)
17-
SONIC_STRETCH_DOCKERS += $(DOCKER_SYNCD_MLNX_RPC)
17+
SONIC_BUSTER_DOCKERS += $(DOCKER_SYNCD_MLNX_RPC)
1818
ifeq ($(ENABLE_SYNCD_RPC),y)
1919
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_SYNCD_MLNX_RPC)
2020
endif

platform/mellanox/docker-syncd-mlnx.mk

-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,5 @@ ifeq ($(SDK_FROM_SRC), y)
1414
$(DOCKER_SYNCD_BASE)_DBG_DEPENDS += $(MLNX_SDK_DBG_DEBS) $(MLNX_SAI_DBGSYM)
1515
endif
1616

17-
SONIC_STRETCH_DOCKERS += $(DOCKER_SYNCD_BASE)
18-
SONIC_STRETCH_DBG_DOCKERS += $(DOCKER_SYNCD_BASE_DBG)
19-
2017
$(DOCKER_SYNCD_BASE)_RUN_OPT += -v /host/warmboot:/var/warmboot
2118
$(DOCKER_SYNCD_BASE)_BASE_IMAGE_FILES += monit_syncd:/etc/monit/conf.d

platform/mellanox/docker-syncd-mlnx/Dockerfile.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% from "dockers/dockerfile-macros.j2" import install_debian_packages, install_python_wheels, copy_files %}
2-
FROM docker-config-engine-stretch
2+
FROM docker-config-engine-buster
33

44
ARG docker_container_name
55
RUN [ -f /etc/rsyslog.conf ] && sed -ri "s/%syslogtag%/$docker_container_name#%syslogtag%/;" /etc/rsyslog.conf
Submodule Switch-SDK-drivers updated 48 files

platform/mellanox/sdk.mk

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
MLNX_SDK_BASE_PATH = $(PLATFORM_PATH)/sdk-src/sx-kernel/Switch-SDK-drivers/bin/
2+
MLNX_SDK_PKG_BASE_PATH = $(MLNX_SDK_BASE_PATH)/$(BLDENV)/
23
MLNX_SDK_VERSION = 4.4.0952
34
MLNX_SDK_ISSU_VERSION = 101
45

@@ -136,7 +137,7 @@ SX_KERNEL_DEV = sx-kernel-dev_1.mlnx.$(MLNX_SDK_DEB_VERSION)_amd64.deb
136137
$(eval $(call add_derived_package,$(SX_KERNEL),$(SX_KERNEL_DEV)))
137138

138139
define make_path
139-
$(1)_PATH = $(MLNX_SDK_BASE_PATH)
140+
$(1)_PATH = $(MLNX_SDK_PKG_BASE_PATH)
140141

141142
endef
142143

rules/docker-platform-monitor.mk

+3-5
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,17 @@ $(DOCKER_PLATFORM_MONITOR)_PYTHON_WHEELS += $(SWSSSDK_PY2)
1616
$(DOCKER_PLATFORM_MONITOR)_PYTHON_WHEELS += $(SONIC_PLATFORM_API_PY2)
1717
$(DOCKER_PLATFORM_MONITOR)_PYTHON_WHEELS += $(SONIC_DAEMON_BASE_PY2)
1818

19-
$(DOCKER_PLATFORM_MONITOR)_DBG_DEPENDS = $($(DOCKER_CONFIG_ENGINE_STRETCH)_DBG_DEPENDS)
19+
$(DOCKER_PLATFORM_MONITOR)_DBG_DEPENDS = $($(DOCKER_CONFIG_ENGINE_BUSTER)_DBG_DEPENDS)
2020
$(DOCKER_PLATFORM_MONITOR)_DBG_DEPENDS += $(LIBSWSSCOMMON_DBG) $(LIBSENSORS_DBG)
2121
$(DOCKER_PLATFORM_MONITOR)_DBG_DEPENDS += $(LM_SENSORS_DBG) $(SENSORD_DBG)
2222

23-
$(DOCKER_PLATFORM_MONITOR)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_STRETCH)_DBG_IMAGE_PACKAGES)
23+
$(DOCKER_PLATFORM_MONITOR)_DBG_IMAGE_PACKAGES = $($(DOCKER_CONFIG_ENGINE_BUSTER)_DBG_IMAGE_PACKAGES)
2424

25-
$(DOCKER_PLATFORM_MONITOR)_LOAD_DOCKERS = $(DOCKER_CONFIG_ENGINE_STRETCH)
25+
$(DOCKER_PLATFORM_MONITOR)_LOAD_DOCKERS = $(DOCKER_CONFIG_ENGINE_BUSTER)
2626

27-
SONIC_STRETCH_DOCKERS += $(DOCKER_PLATFORM_MONITOR)
2827
SONIC_DOCKER_IMAGES += $(DOCKER_PLATFORM_MONITOR)
2928
SONIC_INSTALL_DOCKER_IMAGES += $(DOCKER_PLATFORM_MONITOR)
3029

31-
SONIC_STRETCH_DBG_DOCKERS += $(DOCKER_PLATFORM_MONITOR_DBG)
3230
SONIC_DOCKER_DBG_IMAGES += $(DOCKER_PLATFORM_MONITOR_DBG)
3331
SONIC_INSTALL_DOCKER_DBG_IMAGES += $(DOCKER_PLATFORM_MONITOR_DBG)
3432

rules/lm-sensors.mk

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# lm-senensors package
22

3-
LM_SENSORS_VERSION=3.4.0
4-
LM_SENSORS_VERSION_FULL=$(LM_SENSORS_VERSION)-4
3+
LM_SENSORS_MAJOR_VERSION = 3
4+
LM_SENSORS_MINOR_VERSION = 5
5+
LM_SENSORS_PATCH_VERSION = 0
6+
7+
LM_SENSORS_VERSION=$(LM_SENSORS_MAJOR_VERSION).$(LM_SENSORS_MINOR_VERSION).$(LM_SENSORS_PATCH_VERSION)
8+
LM_SENSORS_VERSION_FULL=$(LM_SENSORS_VERSION)-3
59

610
LM_SENSORS = lm-sensors_$(LM_SENSORS_VERSION_FULL)_$(CONFIGURED_ARCH).deb
711
$(LM_SENSORS)_SRC_PATH = $(SRC_PATH)/lm-sensors
@@ -12,10 +16,10 @@ $(eval $(call add_derived_package,$(LM_SENSORS),$(LM_SENSORS_DBG)))
1216
FANCONTROL = fancontrol_$(LM_SENSORS_VERSION_FULL)_all.deb
1317
$(eval $(call add_derived_package,$(LM_SENSORS),$(FANCONTROL)))
1418

15-
LIBSENSORS = libsensors4_$(LM_SENSORS_VERSION_FULL)_$(CONFIGURED_ARCH).deb
19+
LIBSENSORS = libsensors$(LM_SENSORS_MINOR_VERSION)_$(LM_SENSORS_VERSION_FULL)_$(CONFIGURED_ARCH).deb
1620
$(eval $(call add_derived_package,$(LM_SENSORS),$(LIBSENSORS)))
1721

18-
LIBSENSORS_DBG = libsensors4-dbgsym_$(LM_SENSORS_VERSION_FULL)_$(CONFIGURED_ARCH).deb
22+
LIBSENSORS_DBG = libsensors$(LM_SENSORS_MINOR_VERSION)-dbgsym_$(LM_SENSORS_VERSION_FULL)_$(CONFIGURED_ARCH).deb
1923
$(eval $(call add_derived_package,$(LM_SENSORS),$(LIBSENSORS_DBG)))
2024

2125
SENSORD = sensord_$(LM_SENSORS_VERSION_FULL)_$(CONFIGURED_ARCH).deb

sonic-slave-buster/Dockerfile.j2

+1-1
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ RUN export VERSION=1.14.2 \
337337

338338
# For p4 build
339339
RUN pip install \
340-
ctypesgen==0.r125 \
340+
ctypesgen==1.0.2 \
341341
crc16
342342

343343
# For sonic config engine testing

src/lm-sensors/.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
*
22
!.gitignore
33
!Makefile
4+
!patch/*

src/lm-sensors/Makefile

+11-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SHELL = /bin/bash
55

66
MAIN_TARGET = $(LM_SENSORS)
77
DERIVED_TARGETS = fancontrol_$(LM_SENSORS_VERSION_FULL)_all.deb \
8-
libsensors4_$(LM_SENSORS_VERSION_FULL)_$(CONFIGURED_ARCH).deb \
8+
$(LIBSENSORS) \
99
sensord_$(LM_SENSORS_VERSION_FULL)_$(CONFIGURED_ARCH).deb \
1010
$(LM_SENSORS_DBG) \
1111
$(LIBSENSORS_DBG) \
@@ -14,8 +14,17 @@ DERIVED_TARGETS = fancontrol_$(LM_SENSORS_VERSION_FULL)_all.deb \
1414
$(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
1515
rm -rf lm-sensors-$(LM_SENSORS_VERSION)
1616
dget -u http://deb.debian.org/debian/pool/main/l/lm-sensors/lm-sensors_$(LM_SENSORS_VERSION_FULL).dsc
17-
git apply *.patch
1817
pushd lm-sensors-$(LM_SENSORS_VERSION)
18+
19+
# Initialize as git repository
20+
git init
21+
git add -f *
22+
git commit -m "unmodified lm-sensors sources"
23+
24+
# Apply patches
25+
stg init
26+
stg import -s ../patch/series
27+
1928
DEB_BUILD_OPTIONS=nocheck PROG_EXTRA=sensord dpkg-buildpackage -us -uc -b -j$(SONIC_CONFIG_MAKE_JOBS)
2029
popd
2130

src/lm-sensors/0001-patch-the-debian-package-info-to-get-sensord.patch renamed to src/lm-sensors/patch/0001-patch-the-debian-package-info-to-get-sensord.patch

+51-51
Original file line numberDiff line numberDiff line change
@@ -5,37 +5,37 @@ Subject: [PATCH] patch the debian package info to get sensord
55

66
Signed-off-by: Mykola Faryma <[email protected]>
77
---
8-
.../lm-sensors-3.4.0/debian/sensord.NEWS | 12 ++++
9-
.../lm-sensors-3.4.0/debian/sensord.README.Debian | 23 ++++++++
10-
.../lm-sensors-3.4.0/debian/sensord.default | 20 +++++++
11-
.../lm-sensors-3.4.0/debian/sensord.dirs | 3 +
12-
.../lm-sensors-3.4.0/debian/sensord.init | 64 ++++++++++++++++++++++
13-
.../lm-sensors-3.4.0/debian/sensord.install | 2 +
14-
.../lm-sensors-3.4.0/debian/sensord.maintscript | 2 +
15-
.../lm-sensors-3.4.0/debian/sensord.postinst | 23 ++++++++
16-
.../lm-sensors-3.4.0/debian/sensord.substvars | 2 +
17-
.../lm-sensors-3.4.0/debian/control | 14 ++++++++++++++
8+
debian/sensord.NEWS | 12 ++++
9+
debian/sensord.README.Debian | 23 ++++++++
10+
debian/sensord.default | 20 +++++++
11+
debian/sensord.dirs | 3 +
12+
debian/sensord.init | 64 ++++++++++++++++++++++
13+
debian/sensord.install | 2 +
14+
debian/sensord.maintscript | 2 +
15+
debian/sensord.postinst | 23 ++++++++
16+
debian/sensord.substvars | 2 +
17+
debian/control | 14 ++++++++++++++
1818
11 files changed, 167 insertions(+), 1 deletion(-)
19-
create mode 100644 src/lm-sensors/lm-sensors-3.4.0/debian/sensord.NEWS
20-
create mode 100644 src/lm-sensors/lm-sensors-3.4.0/debian/sensord.README.Debian
21-
create mode 100644 src/lm-sensors/lm-sensors-3.4.0/debian/sensord.default
22-
create mode 100644 src/lm-sensors/lm-sensors-3.4.0/debian/sensord.dirs
23-
create mode 100644 src/lm-sensors/lm-sensors-3.4.0/debian/sensord.init
24-
create mode 100644 src/lm-sensors/lm-sensors-3.4.0/debian/sensord.install
25-
create mode 100644 src/lm-sensors/lm-sensors-3.4.0/debian/sensord.maintscript
26-
create mode 100644 src/lm-sensors/lm-sensors-3.4.0/debian/sensord.postinst
27-
create mode 100644 src/lm-sensors/lm-sensors-3.4.0/debian/sensord.substvars
19+
create mode 100644 /debian/sensord.NEWS
20+
create mode 100644 /debian/sensord.README.Debian
21+
create mode 100644 /debian/sensord.default
22+
create mode 100644 /debian/sensord.dirs
23+
create mode 100644 /debian/sensord.init
24+
create mode 100644 /debian/sensord.install
25+
create mode 100644 /debian/sensord.maintscript
26+
create mode 100644 /debian/sensord.postinst
27+
create mode 100644 /debian/sensord.substvars
2828

29-
diff --git a/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.NEWS b/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.NEWS
29+
diff --git a/debian/sensord.NEWS b/debian/sensord.NEWS
3030
new file mode 100644
3131
index 0000000..4bcfdb9
3232
--- /dev/null
33-
+++ b/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.NEWS
33+
+++ b/debian/sensord.NEWS
3434
@@ -0,0 +1,12 @@
3535
+lm-sensors (1:2.9.0-7) unstable; urgency=low
3636
+
37-
+ Since version 2.9.0 sensord doesn't scale the loadavg itself (* 10) as
38-
+ RRDs work with floating-point values and thus do very well with
37+
+ Since version 2.9.0 sensord doesn't scale the loadavg itself (* 10) as
38+
+ RRDs work with floating-point values and thus do very well with
3939
+ non-integer values even < 1.
4040
+
4141
+ They can even be scaled later at display time by rrdtool itself using:
@@ -44,40 +44,40 @@ index 0000000..4bcfdb9
4444
+
4545
+ -- Aurelien Jarno <[email protected]> Tue, 11 Jan 2005 22:41:34 +0100
4646
+
47-
diff --git a/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.README.Debian b/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.README.Debian
47+
diff --git a/debian/sensord.README.Debian b/debian/sensord.README.Debian
4848
new file mode 100644
4949
index 0000000..9159fbc
5050
--- /dev/null
51-
+++ b/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.README.Debian
51+
+++ b/debian/sensord.README.Debian
5252
@@ -0,0 +1,23 @@
5353
+This is the Debian packaging of sensord, the sensord logging daemon.
5454
+
55-
+The file /etc/default/sensord specifies the configuration parameters
56-
+used to start the daemon. In particular, the syslog facility is set
55+
+The file /etc/default/sensord specifies the configuration parameters
56+
+used to start the daemon. In particular, the syslog facility is set
5757
+to `daemon' and not `local4'.
5858
+
5959
+You must load the appropriate lm-sensors modules during system boot in
6060
+order for the daemon to function correctly.
6161
+
62-
+The file /etc/modules is a useful place to list these modules; for
63-
+example, you might list i2c-amd756 (an I2C/SMBUS module) and w83781d
62+
+The file /etc/modules is a useful place to list these modules; for
63+
+example, you might list i2c-amd756 (an I2C/SMBUS module) and w83781d
6464
+(a sensor chip module).
6565
+
66-
+The daemon does not setup the sensors limits from /etc/sensors3.conf,
66+
+The daemon does not setup the sensors limits from /etc/sensors3.conf,
6767
+this is the job of sensors, when called with -s. Note that 'sensors -s'
68-
+is called at boot time from /etc/init.d/lm-sensors, so that the sensors
69-
+limits should be the right ones in normal use. Don't forget to run
68+
+is called at boot time from /etc/init.d/lm-sensors, so that the sensors
69+
+limits should be the right ones in normal use. Don't forget to run
7070
+sensors -s again if you changed the limits in /etc/sensors3.conf.
7171
+
7272
+For full documentation on setting up lm-sensors on your system,
7373
+see /usr/share/doc/lm-sensors.
7474
+
7575
+-- David Z. Maze <[email protected]>
76-
diff --git a/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.default b/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.default
76+
diff --git a/debian/sensord.default b/debian/sensord.default
7777
new file mode 100644
7878
index 0000000..589b94c
7979
--- /dev/null
80-
+++ b/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.default
80+
+++ b/debian/sensord.default
8181
@@ -0,0 +1,20 @@
8282
+# Interval between scanning for alarms; e.g., 30s, 1m, 1h
8383
+# ALARM_INTERVAL=1m
@@ -99,20 +99,20 @@ index 0000000..589b94c
9999
+# Include the load average in the RRD file. If you enable this you
100100
+# must remove your old RRD file and rebuild your CGI script.
101101
+# RRD_LOADAVG=yes
102-
diff --git a/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.dirs b/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.dirs
102+
diff --git a/debian/sensord.dirs b/debian/sensord.dirs
103103
new file mode 100644
104104
index 0000000..b9cd814
105105
--- /dev/null
106-
+++ b/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.dirs
106+
+++ b/debian/sensord.dirs
107107
@@ -0,0 +1,3 @@
108108
+usr/sbin
109109
+usr/share/man/man8
110110
+etc/default
111-
diff --git a/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.init b/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.init
111+
diff --git a/debian/sensord.init b/debian/sensord.init
112112
new file mode 100644
113113
index 0000000..4d70d43
114114
--- /dev/null
115-
+++ b/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.init
115+
+++ b/debian/sensord.init
116116
@@ -0,0 +1,64 @@
117117
+#!/bin/sh
118118
+
@@ -178,27 +178,27 @@ index 0000000..4d70d43
178178
+esac
179179
+
180180
+exit 0
181-
diff --git a/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.install b/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.install
181+
diff --git a/debian/sensord.install b/debian/sensord.install
182182
new file mode 100644
183183
index 0000000..9713fee
184184
--- /dev/null
185-
+++ b/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.install
185+
+++ b/debian/sensord.install
186186
@@ -0,0 +1,2 @@
187187
+usr/sbin/sensord
188188
+usr/share/man/man8/sensord.8
189-
diff --git a/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.maintscript b/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.maintscript
189+
diff --git a/debian/sensord.maintscript b/debian/sensord.maintscript
190190
new file mode 100644
191191
index 0000000..0e0ff03
192192
--- /dev/null
193-
+++ b/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.maintscript
193+
+++ b/debian/sensord.maintscript
194194
@@ -0,0 +1,2 @@
195195
+# Remove old logcheck ignore file
196-
+rm_conffile /etc/logcheck/ignore.d.server/sensord 1:3.3.5-1~
197-
diff --git a/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.postinst b/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.postinst
196+
+rm_conffile /etc/logcheck/ignore.d.server/sensord 1:3.3.5-1~
197+
diff --git a/debian/sensord.postinst b/debian/sensord.postinst
198198
new file mode 100644
199199
index 0000000..3418fa6
200200
--- /dev/null
201-
+++ b/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.postinst
201+
+++ b/debian/sensord.postinst
202202
@@ -0,0 +1,23 @@
203203
+#!/bin/sh
204204
+# postinst script for sensord
@@ -223,17 +223,17 @@ index 0000000..3418fa6
223223
+esac
224224
+
225225
+#DEBHELPER#
226-
diff --git a/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.substvars b/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.substvars
226+
diff --git a/debian/sensord.substvars b/debian/sensord.substvars
227227
new file mode 100644
228228
index 0000000..978fc8b
229229
--- /dev/null
230-
+++ b/src/lm-sensors/lm-sensors-3.4.0/debian/sensord.substvars
230+
+++ b/debian/sensord.substvars
231231
@@ -0,0 +1,2 @@
232232
+misc:Depends=
233233
+misc:Pre-Depends=
234-
diff --git a/src/lm-sensors/lm-sensors-3.4.0/debian/control b/src/lm-sensors/lm-sensors-3.4.0/debian/control
235-
--- a/src/lm-sensors/lm-sensors-3.4.0/debian/control
236-
+++ b/src/lm-sensors/lm-sensors-3.4.0/debian/control
234+
diff --git a/debian/control b/debian/control
235+
--- a/debian/control
236+
+++ b/debian/control
237237
@@ -68,3 +68,17 @@ Description: utility to control the fan speed
238238
and sets the corresponding PWM outputs to the computed values. This is
239239
useful when this feature is not provided by the BIOS or ACPI, which should
@@ -252,5 +252,5 @@ diff --git a/src/lm-sensors/lm-sensors-3.4.0/debian/control b/src/lm-sensors/lm-
252252
+ This package contains a daemon that logs hardware health status to the
253253
+ system log with optional warnings on potential system problems.
254254
+
255-
--
255+
--
256256
1.9.1

src/lm-sensors/0002-Patch-to-peform-dh_installinit-to-include-sensord.in.patch renamed to src/lm-sensors/patch/0002-Patch-to-peform-dh_installinit-to-include-sensord.in.patch

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ Signed-off-by: Charlie Chen <[email protected]>
99
debian/rules | 1 +
1010
1 file changed, 1 insertion(+)
1111

12-
diff --git a/src/lm-sensors/lm-sensors-3.4.0/debian/rules b/src/lm-sensors/lm-sensors-3.4.0/debian/rules
12+
diff --git a/debian/rules b/debian/rules
1313
index 5ebda06..1d77e28 100755
14-
--- a/src/lm-sensors/lm-sensors-3.4.0/debian/rules
15-
+++ b/src/lm-sensors/lm-sensors-3.4.0/debian/rules
14+
--- a/debian/rules
15+
+++ b/debian/rules
1616
@@ -56,3 +56,4 @@ override_dh_auto_install-arch:
17-
17+
1818
override_dh_installinit-arch:
1919
dh_installinit -plm-sensors --no-start
2020
+ dh_installinit -psensord --no-start
21-
--
21+
--
2222
2.17.1
2323

src/lm-sensors/patch/series

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0001-patch-the-debian-package-info-to-get-sensord.patch
2+
0002-Patch-to-peform-dh_installinit-to-include-sensord.in.patch

src/sonic-sairedis

0 commit comments

Comments
 (0)