mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
ci: fix VKMS lookup after faux bus migration
VKMS has been migrated to the new faux bus. This causes breakage in CI, because we used the platform bus to find the right device. udev hasn't been updated yet to support the faux bus, so just use sysfs instead.
This commit is contained in:
parent
5529aae3e6
commit
03e7966650
1 changed files with 3 additions and 2 deletions
|
|
@ -41,9 +41,10 @@ tasks:
|
||||||
cd wlroots/build-gcc/tinywl
|
cd wlroots/build-gcc/tinywl
|
||||||
sudo modprobe vkms
|
sudo modprobe vkms
|
||||||
udevadm settle
|
udevadm settle
|
||||||
|
card="/dev/dri/$(ls /sys/devices/faux/vkms/drm/ | grep ^card)"
|
||||||
export WLR_BACKENDS=drm
|
export WLR_BACKENDS=drm
|
||||||
export WLR_RENDERER=pixman
|
export WLR_RENDERER=pixman
|
||||||
export WLR_DRM_DEVICES=/dev/dri/by-path/platform-vkms-card
|
export WLR_DRM_DEVICES="$card"
|
||||||
export UBSAN_OPTIONS=halt_on_error=1
|
export UBSAN_OPTIONS=halt_on_error=1
|
||||||
sudo chmod ugo+rw /dev/dri/by-path/platform-vkms-card
|
sudo chmod ugo+rw "$card"
|
||||||
sudo -E seatd-launch -- ./tinywl -s 'kill $PPID' || [ $? = 143 ]
|
sudo -E seatd-launch -- ./tinywl -s 'kill $PPID' || [ $? = 143 ]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue