phosphor-hwmon: fixing starting occ sensor

On P9 the occ device has `:` in path, and it needs to be converted to
`--` while starting hwmon service.

The commit 2f714db14 accidentally removes the convertion, and cause P9's
occ hwmon sensor are not started.

This commit fixes the issue by converting `:` to `--` first.

Tested: Verify the occ hwmon sensors are started on Romulus

Change-Id: Ic9e40066936c86076c38d11353fbb4f8abbebd13
Signed-off-by: Lei YU <mine260309@gmail.com>
1 file changed
tree: eefa1951d28b5bd7cd6db759e00877353030bc2d
  1. aspeed-layer/
  2. classes/
  3. conf/
  4. nuvoton-layer/
  5. recipes-connectivity/
  6. recipes-core/
  7. recipes-devtools/
  8. recipes-extended/
  9. recipes-phosphor/
  10. recipes-protocols/
  11. recipes-support/
  12. recipes-textproc/
  13. COPYING.apache-2.0
  14. COPYING.MIT
  15. LICENSE
  16. MAINTAINERS
  17. README.md
  18. recipes.txt
README.md

OpenBMC

meta-phosphor is the OpenBMC layer. This layer should be included for all OpenBMC systems. The OpenBMC layer contains content which is shared between all OpenBMC systems.