clear-once.service: Call fw_setenv twice for openbmconce

Support for u-boot redundant environment variables was
added where u-boot alternates writing to each environment
every time an variable is written. But initramfs doesn't
know which environment is active so it always reads from
the same one. Therefore need to twice set the
environments that initramfs reads so that they're written
to both environments and initramfs can read it.

Resolves openbmc/openbmc#2292

Change-Id: Ief7fe504199ed9c7646056178bee2992df886e8d
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
1 file changed
tree: 8f357a2e9586eedc6a6b2b03eaecee0e3713990a
  1. classes/
  2. common/
  3. conf/
  4. COPYING.apache-2.0
  5. COPYING.MIT
  6. LICENSE