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.
parent 0e74d40c
......@@ -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 "
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment