commit | dbc34323796bfc37116a7a28e93bcc5bea5fb136 | [log] [tgz] |
---|---|---|
author | Alex Kiernan <alex.kiernan@gmail.com> | Fri Mar 09 12:13:02 2018 +0000 |
committer | Tom Rini <trini@konsulko.com> | Mon Mar 19 16:14:19 2018 -0400 |
tree | 3370a29bbb59a2db130bd84ee5b3f136867bcc76 | |
parent | 899b5338fa695e4bb399b01861624f658e09174f [diff] |
tools: env: Implement atomic replace for filesystem If the U-Boot environment is stored in a regular file and redundant operation isn't set, then write to a temporary file and perform an atomic rename. Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>