mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 16:38:09 +02:00
ci/android: pass -vsock_guest_cid to launch_cvd
This reduces the risk of conflicting ports on the host system. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33499>
This commit is contained in:
parent
074297aea1
commit
ef496469bf
1 changed files with 4 additions and 0 deletions
|
|
@ -47,11 +47,15 @@ trap 'exit 2' HUP INT PIPE TERM
|
|||
|
||||
ulimit -S -n 32768
|
||||
|
||||
VSOCK_BASE=10000 # greater than all the default vsock ports
|
||||
VSOCK_CID=$((VSOCK_BASE + (CI_JOB_ID & 0xfff)))
|
||||
|
||||
HOME=/cuttlefish launch_cvd \
|
||||
-daemon \
|
||||
-verbosity=VERBOSE \
|
||||
-file_verbosity=VERBOSE \
|
||||
-use_overlay=false \
|
||||
-vsock_guest_cid=$VSOCK_CID \
|
||||
-enable_audio=false \
|
||||
-enable_bootanimation=false \
|
||||
-enable_minimal_mode=true \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue