From e9aae42e759a321e4039b9a6b90a016bd19b7706 Mon Sep 17 00:00:00 2001 From: Eric Naim Date: Wed, 25 Feb 2026 03:17:34 +0800 Subject: [PATCH] dmcheck: Fix enabling ly (#85) ly.service no longer exists and instead uses a template service. The symlink matches the behaviour when running `systemctl enable ly@tty2` Signed-off-by: Eric Naim --- archiso/airootfs/usr/local/bin/dmcheck | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/archiso/airootfs/usr/local/bin/dmcheck b/archiso/airootfs/usr/local/bin/dmcheck index 4d57b79..3a6839c 100755 --- a/archiso/airootfs/usr/local/bin/dmcheck +++ b/archiso/airootfs/usr/local/bin/dmcheck @@ -17,7 +17,8 @@ package=ly if pacman -Qs $package > /dev/null ; then - ln -sf /usr/lib/systemd/system/ly.service /etc/systemd/system/display-manager.service + rm -f /etc/systemd/system/getty.target.wants/getty@tty2.service + ln -sf /usr/lib/systemd/system/ly@.service /etc/systemd/system/multi-user.target.wants/ly@tty2.service fi package=plasma-login-manager if pacman -Qs $package > /dev/null ; then