diff options
author | Kenny Levinsen <kl@kl.wtf> | 2021-09-22 23:06:59 +0200 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2021-09-22 23:06:59 +0200 |
commit | ec0d6565bbe81f1e371da0ddff39ee4c4124ffcf (patch) | |
tree | 7f3311b0085f40c87384ea3e417d329fc0d50982 /.builds/archlinux.yml | |
parent | 8e5c00e7c8d9113b69a880dc6d7feecb0b3eed41 (diff) |
ci: Add logind smoketest to arch
Diffstat (limited to '.builds/archlinux.yml')
-rw-r--r-- | .builds/archlinux.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.builds/archlinux.yml b/.builds/archlinux.yml index bc3229a..da300c8 100644 --- a/.builds/archlinux.yml +++ b/.builds/archlinux.yml @@ -22,3 +22,9 @@ tasks: timeout -s KILL 30s sudo SEATD_LOGLEVEL=debug ./build/seatd-launch ./build/simpletest /dev/input/event0 - smoketest-builtin: | timeout -s KILL 30s sudo LIBSEAT_BACKEND=builtin ./build/simpletest /dev/input/event0 + - smoketest-logind: | + # Turn off systemd-logind and patch our session to be tied to seat0 on VT 6 + sudo systemctl stop systemd-logind + echo -e "ACTIVE=$XDG_SESSION_ID\nACTIVE_UID=$UID\nSESSIONS=$XDG_SESSION_ID\nUIDS=$UID\n" | sudo tee -a /run/systemd/seats/seat0 > /dev/null + echo -e "SEAT=seat0\nVTNR=6\n" | sudo tee -a /run/systemd/sessions/$XDG_SESSION_ID > /dev/null + timeout -s KILL 30s sudo LIBSEAT_BACKEND=logind ./build/simpletest /dev/input/event0 |