meta-quanta: gbs: boot status led action
The sys_boot_status LED would be set blinking
until host post done. When host post done, the
action of sys_boot_status would be set on
Note:
1. LED action is set in led.yaml under
"gbs-led-manager-config" directory
2. sys_boot_status LED gpio is set in kernel dts
Signed-off-by: George Hung <george.hung@quantatw.com>
Change-Id: Ieaa377a74a55afbe9ede670876b2e4a2d03316f2
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
new file mode 100644
index 0000000..0627a94
--- /dev/null
+++ b/meta-gbs/recipes-gbs/boot-status-led/files/boot-status-led.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Boot Status LED Manager
+After=xyz.openbmc_project.LED.GroupManager.service
+Requires=xyz.openbmc_project.LED.GroupManager.service
+
+[Service]
+ExecStart=/usr/bin/boot-status-led.sh
+StandardOutput=syslog
+Type=simple
+RemainAfterExit=yes
+Restart=no
+
+[Install]
+WantedBy=multi-user.target