From 44d90f9d82874f891bc6593d95aa9f9ca8205a3e Mon Sep 17 00:00:00 2001 From: andywongarista <78833093+andywongarista@users.noreply.github.com> Date: Thu, 20 Oct 2022 23:25:24 -0700 Subject: [PATCH] Fix sensord service install (#12376) 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 --- ...dh_installinit-to-include-sensord.in.patch | 24 ++++++------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/src/lm-sensors/patch/0002-Patch-to-peform-dh_installinit-to-include-sensord.in.patch b/src/lm-sensors/patch/0002-Patch-to-peform-dh_installinit-to-include-sensord.in.patch index 7bfdee11e3..bb88f423f4 100644 --- a/src/lm-sensors/patch/0002-Patch-to-peform-dh_installinit-to-include-sensord.in.patch +++ b/src/lm-sensors/patch/0002-Patch-to-peform-dh_installinit-to-include-sensord.in.patch @@ -1,23 +1,13 @@ -From b11fd3d516b62c01513d289bc901820aa150c63e Mon Sep 17 00:00:00 2001 -From: Charlie Chen -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 ---- - 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