Skip to content

Commit

Permalink
add config-setup.service as dependency for pcie-check.service (#7599)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sujinmkang authored May 18, 2021
1 parent 8e44b9e commit c646257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/image_config/pcie-check/pcie-check.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Unit]
Description=Check the PCIe device presence and status
After=rc.local.service database.service
After=rc.local.service database.service config-setup.service

[Service]
Type=simple
Expand Down

0 comments on commit c646257

Please sign in to comment.