add config-setup.service as dependency for pcie-check.service (#7599)

Why I did it
start pcie-check.service after config-setup.service since pcie_util depends on device_info which is available with config db metadata.

How I did it
Add config-setup.service as a dependency of pcie-check.service

How to verify it
Upon reboot, check if the pcie-check.sh throws the platform api error which is dependent on DEVICE_METADATA
This commit is contained in:
Sujin Kang 2021-05-18 14:19:02 -07:00 committed by Qi Luo
parent 6d732b5857
commit d1043e3c91

View File

@ -1,6 +1,6 @@
[Unit] [Unit]
Description=Check the PCIe device presence and status Description=Check the PCIe device presence and status
After=rc.local.service database.service After=rc.local.service database.service config-setup.service
[Service] [Service]
Type=simple Type=simple