diff options
author | Imran Khan <gururug@gmail.com> | 2019-12-17 05:59:28 -0800 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-12-17 19:35:16 +0200 |
commit | 27d69d25612e857268492678b86aa88e8ea924ac (patch) | |
tree | c273cee746c336642abeb4a0836c045bc8d1cc2c /scripts/patch-specs.sh | |
parent | f45a16dead15169f06a999f71061e66df1fc478c (diff) | |
download | upstream-27d69d25612e857268492678b86aa88e8ea924ac.tar.gz upstream-27d69d25612e857268492678b86aa88e8ea924ac.tar.bz2 upstream-27d69d25612e857268492678b86aa88e8ea924ac.zip |
uboot-envtools: check for config prior to append
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]
Diffstat (limited to 'scripts/patch-specs.sh')
0 files changed, 0 insertions, 0 deletions