Verified Commit b6e0b26d authored by A. Wilcox's avatar A. Wilcox 🦊
Browse files

user/sddm: Fix logind usage and don't crash if sddm user exists

parent b17c8964
......@@ -34,6 +34,8 @@ build() {
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DENABLE_JOURNALD=OFF \
-DNO_SYSTEMD=ON \
-DUSE_ELOGIND=ON \
-DUID_MIN=500 \
-DUID_MAX=65000 \
${CMAKE_CROSSOPTS} .
......
#!/bin/sh
useradd -G video -c "Display manager user" -d /var/lib/sddm -m -r -s /sbin/nologin -U sddm
useradd -G video -c "Display manager user" -d /var/lib/sddm -m -r -s /sbin/nologin -U sddm || exit 0
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment