diff options
author | John Wedig <johnwedig@google.com> | 2024-11-07 03:21:19 +0300 |
---|---|---|
committer | John Wedig <johnwedig@google.com> | 2024-11-26 02:11:09 +0300 |
commit | a236b21b066756693135ac70668feb7cd55f8e76 (patch) | |
tree | 5a87782e6ef20cd31722dda6f4c3bb8009aba9ab /poky/scripts/lib/scriptutils.py | |
parent | ba99530bf4406f13eae8b7f95b38d8627bcd4ed7 (diff) | |
download | openbmc-a236b21b066756693135ac70668feb7cd55f8e76.tar.xz |
meta-google: bare-metal-active systemd template
This commit converts the systemd target gbmc-bare-metal-active.target to
a template, so that we can have multiple systemd targets on platforms
with multiple hosts. The host number will get passed in when
instantiating the template, e.g. gbmc-bare-metal-active@0.target.
A number of other recipes are updated to account for this new systemd
template.
Tested:
- Set the bare metal flag /var/google/config-package/enable-bm.flag.
- Started host-gpio-monitor@0.service, which started
gbmc-bare-metal-active@0.target. That target caused
disable-obmc-console.service and disable-ipmi-kcs.service to start.
- Rebooted the host. At this point, the host-gpio-monitor@0.service
disabled gbmc-bare-metal-active@0.target. That caused
disable-obmc-console.service and disable-ipmi-kcs.service to stop.
- Set /run/bm-drive-cleaning-done-ack.flag and /run/bm-ready.flag.
- Ran “ipmitool raw 0x2e 0x32 0x79 0x2b 0x00 0x11” on the host
- Confirmed that IPMI stopped working and checked the status of
gbmc-bare-metal-active@0.target and host-gpio-monitor@0.service.
Change-Id: I5ecac13570fb6d167edd2175c94e65464a9c18aa
Signed-off-by: John Wedig <johnwedig@google.com>
Diffstat (limited to 'poky/scripts/lib/scriptutils.py')
0 files changed, 0 insertions, 0 deletions