From 0502646dd3538d4f3c9d85f07a8d211c3b48f7fc Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Thu, 16 Jun 2022 00:59:47 -0400 Subject: demo-i2c-udev-conf: update for reworked agl-service-hvac Update demo-i2c-udev-conf recipe and the script and systemd unit it installs to generate the configuration that the reworked agl-service-hvac daemon expects for LED configuration for the demo platform. Bug-AGL: SPEC-4409 Signed-off-by: Scott Murray Change-Id: I8a746681a5f0acab9aa834796abd3607570e54b4 --- .../udev/demo-i2c-udev-conf/hvac-conf-in-rewrite@.service | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 recipes-core/udev/demo-i2c-udev-conf/hvac-conf-in-rewrite@.service (limited to 'recipes-core/udev/demo-i2c-udev-conf/hvac-conf-in-rewrite@.service') diff --git a/recipes-core/udev/demo-i2c-udev-conf/hvac-conf-in-rewrite@.service b/recipes-core/udev/demo-i2c-udev-conf/hvac-conf-in-rewrite@.service new file mode 100644 index 000000000..e6e0c1d69 --- /dev/null +++ b/recipes-core/udev/demo-i2c-udev-conf/hvac-conf-in-rewrite@.service @@ -0,0 +1,8 @@ +[Unit] +Description=AGL hvac LED write agl-service-hvac-leds.conf +Before=agl-service-hvac.service + +[Service] +Type=oneshot +ExecStartPre=/usr/bin/logger '#hvac i2c device has been attached - %i' +ExecStart=/usr/sbin/hvac-conf-in-rewrite.sh %i -- cgit 1.2.3-korg