Skip to content

Commit 397a081

Browse files
Merge pull request jellyfin#58 from oddstr13/ci-fix-1
Add support for selinux + build documentation fix
2 parents eb80c83 + d21d97d commit 397a081

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Building is easy, and doesn't require anything besides the SDK:
2323

2424
```sh
2525
# Build the package
26-
./dev.sh ares-build --no-minify org.jellyfin.webos
26+
./dev.sh ares-package --no-minify org.jellyfin.webos
2727
```
2828

2929
## Testing

dev.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@ CONTAINER_IMAGE="ghcr.io/oddstr13/docker-tizen-webos-sdk:webos-only"
44
MY=$(realpath "$(dirname $0)")
55

66
function ct {
7-
docker container run -it --rm --user=$UID --network=host -v "${MY}":/home/developer $CONTAINER_IMAGE "$@"
7+
# The volume mount flag should be a lower case z.
8+
# NEVER upper case, as that could break permissions badly.
9+
# https://docs.docker.com/storage/bind-mounts/#configure-the-selinux-label
10+
docker container run -it --rm --user=$UID --network=host -v "${MY}":/home/developer:z $CONTAINER_IMAGE "$@"
811
}
912

1013
if [ $# -lt 1 ]; then

0 commit comments

Comments
 (0)