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
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ibd4f639c1e0a9b879f59380b84da00ab92694e48
diff --git a/meta-gbs/recipes-gbs/boot-status-led/files/boot-status-led.service b/meta-gbs/recipes-gbs/boot-status-led/files/boot-status-led.service
index 0627a94..ea44dda 100644
--- a/meta-gbs/recipes-gbs/boot-status-led/files/boot-status-led.service
+++ b/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