bmc_update: save runtime modified u-boot environment
Copy the version saved by our initfs and pointed to by our fw_setenv
tools via /etc/fw_setenv. Do this copy by default.
The /etc/fw_env.cnf config file points to /run/fw_env in our systems.
The bmc_update object was copying /dev/mtd2. That could be very
system specific, and it misses any changes made from elsewhere
in the system.
This variable causes the u-boot environment to be written back
after writing the whole image. This will save the ethernet mac
which for systems which don't store it elsewhere.
Signed-off-by: Milton Miller <miltonm@us.ibm.com>
1 file changed