diff options
| author | Hieu Huynh <hieuh@os.amperecomputing.com> | 2024-10-23 11:58:45 +0300 |
|---|---|---|
| committer | Thang Q. Nguyen <thang@os.amperecomputing.com> | 2024-10-24 02:59:47 +0300 |
| commit | b33beeb0b05f3ba24dd5b67ba48b7d629e39ed13 (patch) | |
| tree | 7d01ca9d263c862791e17f279b7d945ed3387ef3 /meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch | |
| parent | 2ec6d69d025bdf3e3f62de7bbda8af9ad462ad8e (diff) | |
| download | openbmc-b33beeb0b05f3ba24dd5b67ba48b7d629e39ed13.tar.xz | |
meta-ampere: fix service warning on BMC boot up
When BMC boots up, the warning of
ampere-bmc-reboot-host-check@.service shows
```
systemd[1]: /usr/lib/systemd/system/ampere-bmc-reboot-host-check@.service:13: \
Ignoring unknown escape sequences: "if [ $(busctl get-property `mapper get-service \
/xyz/openbmc_project/state/host0` /xyz/openbmc_project/state/host0 \
xyz.openbmc_project.State.Host CurrentHostState | grep -i '\.Running' \
| wc -l) != 0 ]; then exit 0; fi"
```
The issue come from the '\.Running'. Per systemd.syntax [1] "any
backslashes should be doubled".
[1] https://www.freedesktop.org/software/systemd/man/latest/systemd.syntax.html#Quoting
Tested:
1. Tested the block command, it works.
2. When BMC boots up, don't see the warning of
ampere-bmc-reboot-host-check@.service service.
Signed-off-by: Hieu Huynh <hieuh@os.amperecomputing.com>
Change-Id: I0e9435db527a2454e86e50c159d50e50c347d16e
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/0001-sqlparse-change-shebang-to-python3.patch')
0 files changed, 0 insertions, 0 deletions
