Ensure that the MAC address is saved in u-boot-env
During the full flash update `u-boot-env` is cleaned. The followed MAC
address synchronization leaves this partition untouched because the
actual address is still valid. As a result, we lose this address on the
next power cycle.
This commit makes `phosphor-networkd` saving the new MAC address to
`u-boot-env`, even if it was not changed in fact.
Tested: after the MAC address synchronization is completed `u-boot-env`
always contains the valid MAC address.
Change-Id: I9df6b5ab858145e00f077f2fb65e69ab874f71d5
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>
1 file changed