commit | 0883162c7473cfabba174d6841de51520e5cfd62 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Feb 28 15:13:47 2022 -0700 |
committer | Simon Glass <sjg@chromium.org> | Fri Mar 18 19:24:24 2022 -0600 |
tree | a034a3063575d0ab0ef246ce76705a4be0e40d97 | |
parent | 9ee7b73a9267c1d435a179878e3a4e312635e5e5 [diff] |
sandbox: Open host file for read-only access if needed Some files cannot be written but read-only access is still useful for tests. Add a fallback to read-only access when needed. This is useful in CI when opening a large data file provided by docker, where read/write access would result in copying the file, thus needing a lot of extra disk space. Signed-off-by: Simon Glass <sjg@chromium.org>