diff options
author | Raptor Engineering Development Team <support@raptorengineering.com> | 2020-02-18 08:28:11 +0000 |
---|---|---|
committer | Raptor Engineering Development Team <support@raptorengineering.com> | 2020-02-18 12:36:06 +0000 |
commit | f67ca56deee9ed00d44a77c347986a435a8646ab (patch) | |
tree | a6c7a25d98db298c7523be5afa08cb19615dc016 /meta-phosphor | |
parent | 7c7a453912ffa6d006bdba6ac5fa985a0d2c53b0 (diff) | |
download | talos-openbmc-f67ca56deee9ed00d44a77c347986a435a8646ab.tar.gz talos-openbmc-f67ca56deee9ed00d44a77c347986a435a8646ab.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.
Diffstat (limited to 'meta-phosphor')
-rw-r--r-- | meta-phosphor/recipes-phosphor/initrdscripts/obmc-phosphor-initfs.bb | 3 |
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 " |