Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit 6cb25eb

Browse files
emersionkennylevinsen
authored andcommitted
ci: switch to seatd-launch
This removes the need for the ad-hoc loop. Because udev creates the symlinks in /dev/dri/by-path/, we need to wait for it to consume all pending events before the chmod call. Previously the delay needed for seatd to come up was enough to let udev create the symlinks in time (by chance).
1 parent 52da68b commit 6cb25eb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.builds/archlinux.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,9 @@ tasks:
3434
- smoke-test: |
3535
cd wlroots/tinywl
3636
sudo modprobe vkms
37-
sudo seatd -u "$USER" &
38-
while ! [ -e /run/seatd.sock ]; do sleep 0.1; done
37+
udevadm settle
3938
export WLR_BACKENDS=drm
4039
export WLR_RENDERER=pixman
4140
export WLR_DRM_DEVICES=/dev/dri/by-path/platform-vkms-card
4241
sudo chmod ugo+rw /dev/dri/by-path/platform-vkms-card
43-
./tinywl -s 'kill $PPID' || [ $? = 143 ]
42+
sudo -E seatd-launch -- ./tinywl -s 'kill $PPID' || [ $? = 143 ]

0 commit comments

Comments
 (0)