diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2019-05-31 13:25:36 -0500 |
---|---|---|
committer | Adriana Kobylak <anoo@us.ibm.com> | 2019-06-21 10:07:04 -0500 |
commit | 10e915abf1bd31d8b1dae8d01c731ac8dd76c7c0 (patch) | |
tree | 692c6eea5cbce78bbfd4837120ae203e708d4503 /ubi/obmc-flash-bios-updatesymlinks.service | |
parent | 851bc064b23c0fcb9c19be30948d1e4f5ec0253a (diff) | |
download | openpower-pnor-code-mgmt-10e915abf1bd31d8b1dae8d01c731ac8dd76c7c0.tar.gz openpower-pnor-code-mgmt-10e915abf1bd31d8b1dae8d01c731ac8dd76c7c0.zip |
Move script and systemd service files into repo
Move the obmc-flash-bios script and systemd service files from
openbmc/openbmc to the local repo.
Tested: PNOR code update was successful on witherspoon.
Change-Id: Ibb7adba0638b8205173cb0ec4d4d61f2aeb6ce28
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'ubi/obmc-flash-bios-updatesymlinks.service')
-rw-r--r-- | ubi/obmc-flash-bios-updatesymlinks.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ubi/obmc-flash-bios-updatesymlinks.service b/ubi/obmc-flash-bios-updatesymlinks.service new file mode 100644 index 000000000..d486088ec --- /dev/null +++ b/ubi/obmc-flash-bios-updatesymlinks.service @@ -0,0 +1,15 @@ +[Unit] +Description=Updates symlinks for active PNOR version +Before=mboxd.service +Before=mboxd-reload@0.service +After=org.open_power.Software.Host.Updater.service +After=op-reset-chassis-running@0.service +ConditionPathExists=!/run/openbmc/chassis@0-on + +[Service] +Type=oneshot +RemainAfterExit=no +ExecStart=/usr/bin/obmc-flash-bios updatesymlinks + +[Install] +WantedBy=mboxd.service mboxd-reload@.service |