diff options
| author | Adriana Kobylak <anoo@us.ibm.com> | 2018-02-09 20:21:57 +0300 |
|---|---|---|
| committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-02-23 19:35:47 +0300 |
| commit | 1f5eaa8b7d5677a33f093788c29a0d8dae9dd7a4 (patch) | |
| tree | 3e02138e47873269fcfe8d3b4698108492dafab9 /meta-openembedded/meta-python/recipes-devtools/python/python-matplotlib | |
| parent | 597d1683410317d1ab74eea2c50dd6f1372ba207 (diff) | |
| download | openbmc-1f5eaa8b7d5677a33f093788c29a0d8dae9dd7a4.tar.xz | |
obmc-flash-bmc: Don't overwrite u-boot env vars if already set
The BMC requests to set various u-boot environment variables during
Activation like Priority and UBI volume information. Some of these
variables may already be set to the requested value, but u-boot writes
a new entry in the u-boot env mtd device. Prevent wearing off this mtd
by checking if the values are the same before writing.
Tested: Verified that without the change the /dev/mtd2 (u-boot env)
appends a new string every time a variable is set even if it's already
set. Verified with change that no new string is added to the mtd device.
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Change-Id: I8e3c379dc078d5b6ab593fe9cbeebbbd346f29e8
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python-matplotlib')
0 files changed, 0 insertions, 0 deletions
