In the rare event a pre-populated fw_env.config exists in the rootfs prior to firstboot, calling fw_setenv after the system has initialised will annihilate the devices environment due to two identical lines in fw_env.config. Check for existence prior to blind appendage. Signed-off-by: Imran Khan <gururug@gmail.com> Signed-off-by: Daniel Golle <daniel@makrotopia.org> [daniel@makrotopia.org: fixed patch format, improved grep, cosmetics] |
||
---|---|---|
.. | ||
apex | ||
arm-trusted-firmware-mvebu | ||
arm-trusted-firmware-sunxi | ||
at91bootstrap | ||
fconfig | ||
grub2 | ||
imx-bootlets | ||
kexec-tools | ||
kobs-ng | ||
rbcfg | ||
tfa-layerscape | ||
uboot-ar71xx | ||
uboot-at91 | ||
uboot-envtools | ||
uboot-fritz4040 | ||
uboot-imx6 | ||
uboot-kirkwood | ||
uboot-lantiq | ||
uboot-layerscape | ||
uboot-mvebu | ||
uboot-mxs | ||
uboot-omap | ||
uboot-oxnas | ||
uboot-sunxi | ||
uboot-tegra | ||
uboot-zynq |