summaryrefslogtreecommitdiffstats
path: root/commands/memtest.c
diff options
context:
space:
mode:
authorZahari Doychev <zahari.doychev@linux.com>2015-12-16 13:24:43 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-12-17 10:48:18 +0100
commit295a5f8e4b9f7359f2093f61a6672844bd406cb4 (patch)
tree2c33cfd3d2e5525ffd291f58f9ce744b92ef9a07 /commands/memtest.c
parenta9e7e68279de3aec38b038211a15a80cfc612c4e (diff)
downloadbarebox-295a5f8e4b9f7359f2093f61a6672844bd406cb4.tar.gz
environment: allow saving of symbolic link changes
Currently it is not possible to change symbolic links in the default environment. For example if the default environment contains the link "current_boot -> mmc" then the following does not work: $ rm current_boot $ ln net current_boot $ saveenv After reset the link is still pointing to "mmc" and this error appears: "symlink: /env/boot/current_boot -> net : error -17" The patch fixes the above problem and moves the "ENV_FLAG_NO_OVERWRITE" to enable handling of symbolic links in this case too. Signed-off-by: Zahari Doychev <zahari.doychev@linux.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/memtest.c')
0 files changed, 0 insertions, 0 deletions