commit | 75d1c9af1587158a84e72ee786d35dade1552cc5 | [log] [tgz] |
---|---|---|
author | Adriana Kobylak <anoo@us.ibm.com> | Sat Jul 08 16:28:59 2017 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Aug 02 10:58:49 2017 +0000 |
tree | 26bb830786513f2d9a67d86e8498d1cc80a735eb | |
parent | 8bc22de0ba2079260f71668e08d5eb017d84a216 [diff] |
phosphor-software-manager: Create /usr/local mount point Mount /usr/local as a tmpfs to be used as a patch location for the host bios code and (eventually) the bmc. Add a dependency to it to the pnor updater service starts since that's a service that will use it. Change-Id: I41cf3f4f536bad4b3966503953f79db2d052022d Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/org.open_power.Software.Host.Updater.service b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/org.open_power.Software.Host.Updater.service index dd3866c..12ad4ea 100644 --- a/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/org.open_power.Software.Host.Updater.service +++ b/meta-openbmc-machines/meta-openpower/common/recipes-phosphor/flash/openpower-software-manager/org.open_power.Software.Host.Updater.service
@@ -3,6 +3,8 @@ Wants=xyz.openbmc_project.Software.Version.service Before=xyz.openbmc_project.Software.Version.service Before=mboxd.service +Wants=usr-local.mount +Before=usr-local.mount [Service] ExecStart={sbindir}/openpower-update-manager
diff --git a/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb b/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb index 458b96c..c31c507 100644 --- a/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb +++ b/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb
@@ -66,6 +66,7 @@ obmc-flash-bmc-setenv@.service \ obmc-flash-bmc-ubirw-remove.service \ obmc-flash-bmc-ubiro-remove@.service \ + usr-local.mount \ " # Name of the mtd device where the ubi volumes should be created
diff --git a/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager/usr-local.mount b/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager/usr-local.mount new file mode 100644 index 0000000..7aa2cf6 --- /dev/null +++ b/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager/usr-local.mount
@@ -0,0 +1,7 @@ +[Unit] +Description=/usr/local + +[Mount] +What=tmpfs +Where=/usr/local +Type=tmpfs