meta-quanta: gbs: fix only detect POST done state once
Fix the boot status LED behavior:
1. turn off boot status LED when system power off
2. keep monitoring POST done state GPIO to blink or turn
on LED
(From meta-quanta rev: d967cf675b25186828187c32e39ac29e70088c26)
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: I74c13a88a8c52cb430261653a99501841d634106
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-quanta/meta-gbs/recipes-gbs/boot-status-led/files/boot-status-led.service b/meta-quanta/meta-gbs/recipes-gbs/boot-status-led/files/boot-status-led.service
index 0627a94..ea44dda 100644
--- a/meta-quanta/meta-gbs/recipes-gbs/boot-status-led/files/boot-status-led.service
+++ b/meta-quanta/meta-gbs/recipes-gbs/boot-status-led/files/boot-status-led.service
@@ -1,14 +1,13 @@
[Unit]
Description=Boot Status LED Manager
After=xyz.openbmc_project.LED.GroupManager.service
-Requires=xyz.openbmc_project.LED.GroupManager.service
+Wants=xyz.openbmc_project.LED.GroupManager.service
[Service]
ExecStart=/usr/bin/boot-status-led.sh
StandardOutput=syslog
Type=simple
-RemainAfterExit=yes
-Restart=no
+Restart=yes
[Install]
WantedBy=multi-user.target