summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2020-02-18 08:28:11 +0000
committerRaptor Engineering Development Team <support@raptorengineering.com>2020-02-18 11:03:30 +0000
commit2ee9bc0e6d5cf308d26f248b3a673f6087510bc2 (patch)
tree2d424c964ba3d515cf473e89a070a033963948ee
parentd1038c232e757240dadcbd74ff5a640108786904 (diff)
downloadtalos-openbmc-2ee9bc0e6d5cf308d26f248b3a673f6087510bc2.tar.gz
talos-openbmc-2ee9bc0e6d5cf308d26f248b3a673f6087510bc2.zip
Remove fw_setenv from initramfs environment as it is not needed and works counter-intuitively
In particular it will reset the environment to its compiled-in default, not the default environment of the installed U-boot version, when it is used to set a variable on a corrupted or blank (invalid checksum) environment parition.
-rw-r--r--meta-phosphor/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bb3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta-phosphor/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bb b/meta-phosphor/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bb
index 3903321db..be18a7cb1 100644
--- a/meta-phosphor/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bb
+++ b/meta-phosphor/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bb
@@ -37,10 +37,9 @@ do_install() {
install -m 0644 ${STAGING_DIR}/fw_env.config ${D}/etc/fw_env.config
install -d ${D}/bin
install -m 0755 ${STAGING_DIR}/bin/fw_printenv ${D}/bin/fw_printenv
- install -m 0755 ${STAGING_DIR}/bin/fw_setenv ${D}/bin/fw_setenv
install -m 0755 ${STAGING_DIR}/bin/bbe ${D}/bin/bbe
}
FILES_${PN} += " /init /shutdown /update /whitelist /dev "
FILES_${PN} += " /init-options /init-download-url "
-FILES_${PN} += " /bin/fw_printenv /bin/fw_setenv /bin/bbe "
+FILES_${PN} += " /bin/fw_printenv /bin/bbe "
OpenPOWER on IntegriCloud