doc: mention root perms for build

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
This commit is contained in:
Simon de Vlieger 2025-04-08 09:47:14 +02:00
parent ea1a42773a
commit 6f883c1407
2 changed files with 3 additions and 0 deletions

View file

@ -37,3 +37,4 @@ libc
url
dir
programmatically
loopback

View file

@ -105,6 +105,8 @@ $ sudo image-builder build minimal-raw
# ... progress ...
```
The `build` command requires root privileges in many cases as `image-builder` needs access to loopback devices and `mount`.
By default the `build` command uses the same distribution and version as the host system, you can pass another distribution and version with the `--distro` argument:
```console