diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2017-10-03 04:12:08 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-10-25 03:57:04 +0300 |
commit | 7d8f725534e385277fbbe514b7b0856c4ed89643 (patch) | |
tree | 2333d74de70983ac7a69f175922a8328ad09ce68 /meta-phosphor/common | |
parent | 21875f751272d7ffc41535735acef57fe7528a18 (diff) | |
download | openbmc-7d8f725534e385277fbbe514b7b0856c4ed89643.tar.xz |
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>
Diffstat (limited to 'meta-phosphor/common')
-rw-r--r-- | meta-phosphor/common/recipes-phosphor/clear-once/clear-once/clear-once.service | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/clear-once/clear-once/clear-once.service b/meta-phosphor/common/recipes-phosphor/clear-once/clear-once/clear-once.service index a7641e661..132d11d69 100644 --- a/meta-phosphor/common/recipes-phosphor/clear-once/clear-once/clear-once.service +++ b/meta-phosphor/common/recipes-phosphor/clear-once/clear-once/clear-once.service @@ -13,3 +13,4 @@ TimeoutStartSec=60 Restart=no ExecStart=/sbin/fw_setenv openbmconce +ExecStart=/sbin/fw_setenv openbmconce |