summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor/initfs/files/obmc-init.sh
diff options
context:
space:
mode:
authorEdward A. James <eajames@us.ibm.com>2017-08-15 14:18:12 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-08-18 16:16:00 +0000
commitfd6f07c2c85d2882c1384827305ad0a787f3c784 (patch)
treecb0c7f0b772da2d85fd70280ea793b219ecf51dd /meta-phosphor/common/recipes-phosphor/initfs/files/obmc-init.sh
parent3aa1ef696fd093d16b8c7472d1ffe0f199dc96e7 (diff)
downloadtalos-openbmc-fd6f07c2c85d2882c1384827305ad0a787f3c784.tar.gz
talos-openbmc-fd6f07c2c85d2882c1384827305ad0a787f3c784.zip
Add u-boot redundant environments
Update fw_env config with two sections. Update init script to handle redundant envs. Patch u-boot. Can be removed when openbmc/u-boot is updated and recipe bumped. Resolves openbmc/openbmc#1937 Change-Id: I15137f55d960381a0b3fbb58c53090bbd5b86482 Signed-off-by: Edward A. James <eajames@us.ibm.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor/initfs/files/obmc-init.sh')
-rw-r--r--meta-phosphor/common/recipes-phosphor/initfs/files/obmc-init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/initfs/files/obmc-init.sh b/meta-phosphor/common/recipes-phosphor/initfs/files/obmc-init.sh
index a402ecb31..afa8ac1e3 100644
--- a/meta-phosphor/common/recipes-phosphor/initfs/files/obmc-init.sh
+++ b/meta-phosphor/common/recipes-phosphor/initfs/files/obmc-init.sh
@@ -55,7 +55,7 @@ get_fw_env_var() {
# count non-blank non-comment lines
# copies=$(grep -v ^# /etc/fw_env.config | grep -c [::alnum::])
# ... we could if we had the fw_env.config in the initramfs
- copies=1
+ copies=2
# * Change \n to \r and \0 to \n
# * Skip to the 5th byte to skip over crc
OpenPOWER on IntegriCloud