From 194ff4f1f5d44b12e9cb06ddafa6adb20174a13c Mon Sep 17 00:00:00 2001 From: Dave Cobbley Date: Wed, 22 Aug 2018 21:40:54 -0400 Subject: [Subtree] Bring openbmc machines to top level The new subtree model brings the subtrees up from the openbmc-machines layer. Change-Id: I58a03ae1be374bc79ae1438e65e888375d12d0c0 Signed-off-by: Dave Cobbley Signed-off-by: Brad Bishop --- .../chassis/ir38163-workaround/ir-add@.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-qualcomm/meta-centriq2400-rep/recipes-phosphor/chassis/ir38163-workaround/ir-add@.service (limited to 'meta-qualcomm/meta-centriq2400-rep/recipes-phosphor/chassis/ir38163-workaround/ir-add@.service') diff --git a/meta-qualcomm/meta-centriq2400-rep/recipes-phosphor/chassis/ir38163-workaround/ir-add@.service b/meta-qualcomm/meta-centriq2400-rep/recipes-phosphor/chassis/ir38163-workaround/ir-add@.service new file mode 100644 index 000000000..0b3574b2c --- /dev/null +++ b/meta-qualcomm/meta-centriq2400-rep/recipes-phosphor/chassis/ir38163-workaround/ir-add@.service @@ -0,0 +1,16 @@ +[Unit] +Description=Add IR38163 device +Wants=obmc-power-start@%i.target +Before=obmc-power-start@%i.target +Conflicts=obmc-chassis-poweroff@%i.target +ConditionPathExists=!/run/openbmc/chassis@%i-on + +[Service] +ExecStart=/usr/bin/env ir38163_workaround.sh add +SyslogIdentifier=ir38163_workaround.sh +Type=oneshot +RemainAfterExit=yes + +[Install] +WantedBy=obmc-host-start@%i.target + -- cgit v1.2.1