Skip to content

Commit

Permalink
Fix sensord service install (#12376)
Browse files Browse the repository at this point in the history
Why I did it
#4021 describes an issue that is still being observed on master image whereby sensord does not start in pmon due to missing service.

How I did it
Updated the lm-sensors install patch with a case for systemd

How to verify it
Verified that sensord is up in pmon after boot

Co-authored-by: Boyang Yu <byu@arista.com>
  • Loading branch information
2 people authored and yxieca committed Oct 25, 2022
1 parent 834724f commit 44d90f9
Showing 1 changed file with 7 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1,23 +1,13 @@
From b11fd3d516b62c01513d289bc901820aa150c63e Mon Sep 17 00:00:00 2001
From: Charlie Chen <charlie_chen@edge-core.com>
Date: Wed, 1 Apr 2020 06:59:06 +0000
Subject: Patch to peform dh_installinit to include sensord.install in the
packed deb

Signed-off-by: Charlie Chen <charlie_chen@edge-core.com>
---
debian/rules | 1 +
1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 5ebda06..1d77e28 100755
index 3cd5314..1dd0983 100755
--- a/debian/rules
+++ b/debian/rules
@@ -56,3 +56,4 @@ override_dh_auto_install-arch:

@@ -66,6 +66,8 @@ override_dh_auto_install-arch:
override_dh_installinit-arch:
dh_installinit -plm-sensors --no-start
+ dh_installinit -psensord --no-start
--
2.17.1


override_dh_installsystemd-arch:
dh_installsystemd -plm-sensors --no-start
+ dh_installsystemd -psensord --no-start

0 comments on commit 44d90f9

Please sign in to comment.