Fix the starting of phosphor-hwmon

After the commit 7ead6495b6d6782dd89951e8bfb26131f35863ec
the phosphor-hwmon failed to start with errors like this:
```
/lib/systemd/system/xyz.openbmc_project.Hwmon@.service:8:
  Failed to resolve unit specifiers on %f: Invalid argument
```

It happens when the instance name begins with `/` character which causes
this error when used specifier `%f`.

Besides the specifier `%I` looks less buggy and more appropriate in this
case, because it's the only part of path and will be completed inside
the `phosphor-hwmon-readd`.

This commit fixes the starting of the phosphor-hwmon.

Partially resolves: openbmc/openbmc#3435

Change-Id: I25b622a80a57d872a7471d0f9eae8ca4fc4aecab
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
2 files changed
tree: d364ac34cc7d7428d2f5464c12abff56a62fd016
  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-support/
  11. recipes-textproc/
  12. COPYING.apache-2.0
  13. COPYING.MIT
  14. LICENSE
  15. MAINTAINERS
  16. README.md
  17. 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.