diff options
| -rwxr-xr-x | documentation/tools/build-docs-container | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/tools/build-docs-container b/documentation/tools/build-docs-container index 26ea1d2e2a..f97cfc4025 100755 --- a/documentation/tools/build-docs-container +++ b/documentation/tools/build-docs-container | |||
| @@ -154,11 +154,11 @@ main () | |||
| 154 | --security-opt label=disable | 154 | --security-opt label=disable |
| 155 | ) | 155 | ) |
| 156 | 156 | ||
| 157 | if [ "$OCI" = "docker" ]; then | 157 | if [ "$(basename "$OCI")" = "docker" ]; then |
| 158 | args_run+=( | 158 | args_run+=( |
| 159 | --user="$(id -u)":"$(id -g)" | 159 | --user="$(id -u)":"$(id -g)" |
| 160 | ) | 160 | ) |
| 161 | elif [ "$OCI" = "podman" ]; then | 161 | elif [ "$(basename "$OCI")" = "podman" ]; then |
| 162 | # we need net access to fetch bitbake terms | 162 | # we need net access to fetch bitbake terms |
| 163 | args_run+=( | 163 | args_run+=( |
| 164 | --cap-add=NET_RAW | 164 | --cap-add=NET_RAW |
