commit | da8b9a76df3d1f36c69bdf4f4f36761491991f95 | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Sat Aug 19 23:31:28 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Mon Aug 21 23:24:12 2017 +0000 |
tree | 0b0451abd5ea2f5c9d3da54300e1bc8bd7c6043a | |
parent | 57ef7224ca9ff6cadbdf3c8577c71263055c6717 [diff] |
bios-updatesymlinks: Add Install section for WantedBy option The WantedBy option was missing the Install section in the service file, which was giving the following error: flash-bios-updatesymlinks.service:9] Unknown lvalue 'WantedBy' in section 'Service' Also add a Before to specify the service to run before the wanted by services. Change-Id: Ic74c71b5bc166b85bfb45d51eb9bafca014f2e54 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios-updatesymlinks.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios-updatesymlinks.service index a7e2b7a..c0a2bbb 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios-updatesymlinks.service +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/obmc-flash-bios-updatesymlinks.service
@@ -1,9 +1,12 @@ [Unit] Description=Updates symlinks for active PNOR version +Before=mboxd.service +Before=mboxd-reload@.service [Service] Type=oneshot RemainAfterExit=no ExecStart={sbindir}/obmc-flash-bios updatesymlinks +[Install] WantedBy=mboxd.service mboxd-reload@.service