| commit | 9f89e2e1cf7e739dcd3cb975815ed37750c81c26 | [log] [tgz] |
|---|---|---|
| author | Adriana Kobylak <anoo@us.ibm.com> | Wed May 30 13:16:20 2018 -0500 |
| committer | Adriana Kobylak <anoo@us.ibm.com> | Wed Jun 06 16:40:03 2018 -0500 |
| tree | af07ba021046e99e077c837fb2fa45cb599ff338 | |
| parent | 4b35dd31529e489b5f2f74c1d34900713c8032fc [diff] |
activation: Create ubi write function
Move the code that creates the ubi volumes into a separate
write flash function to make it easier to implement
different flash write functions for other flash layouts.
To implement a different write flash function:
1. Modify the Makefile.am file to include the desired code
location. Ex:
if UBI
include ubi/Makefile.am.include
else
include <other>/Makefile.am.include
2. Implement the Activation::flashWrite in <other>/flash.cpp
Tested: Verified code update still worked.
Change-Id: Ide4d135695dad27e0dc1b5a776a276dfb2ca9aa6
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Phosphor BMC Code Management provides a set of system software management applications. More information can be found at Software Architecture
To build this package, do the following steps:
1. ./bootstrap.sh
2. ./configure ${CONFIGURE_FLAGS}
3. make
To clean the repository run `./bootstrap.sh clean`.