Skip to content
Commit 7eb2c8d5 authored by Simon Glass's avatar Simon Glass Committed by Tom Rini
Browse files

sandbox: fs: Add support for saving files to host filesystem



This allows write of files from the host filesystem in sandbox. There is
currently no concept of overwriting the file and removing its existing
contents - all writing is done on top of what is there. This means that
writing 10 bytes to the start of a 1KB file will only update those 10
bytes, not truncate the file to 10 byte slong.

If the file does not exist it is created.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent a8f6ab52
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment