Commit 2944dd53 authored by Mylène Josserand's avatar Mylène Josserand
Browse files

README: Add section about nosuid option



If the Docker container is used, the host partition running the
bootstrap script should not be a partition with 'nosuid' option.
Signed-off-by: Mylène Josserand's avatarMylène Josserand <mylene.josserand@collabora.com>
parent e6b0e696
......@@ -68,6 +68,16 @@ helper scripts to build firmware images for some known device types. All this i
_Note: For a recent system using a 5.10 kernel, a patch is needed to be able
to fix a cgroup error. It is automatically applied. See [`cros-build/setup/apply-patch-fixing-cgroup.sh`](https://gitlab.collabora.com/chromium/firmware-tools/-/blob/master/cros-build/setup/apply-patch-fixing-cgroup.sh)_
The Docker container will use `chroot`. For that, the system should not be
mounted with `nosuid` option. As Docker is just a binding of the host system
for such mount options, make sure to have your host partition
with the `suid` option and not `nosuid` one. Otherwise, you may encounter
errors like this:
```
13:03:37: ERROR: chroot cannot be in a nosuid mount
```
The containers are using the following local directories on the host:
* cache: used by the SDK tools, for example to store SDK tarballs
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment