summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kde/build/sddm-qt51
-rw-r--r--kde/cmake/sddm-qt51
-rw-r--r--kde/doinst.sh/sddm-qt59
3 files changed, 6 insertions, 5 deletions
diff --git a/kde/build/sddm-qt5 b/kde/build/sddm-qt5
deleted file mode 100644
index 0cfbf08..0000000
--- a/kde/build/sddm-qt5
+++ /dev/null
@@ -1 +0,0 @@
-2
diff --git a/kde/cmake/sddm-qt5 b/kde/cmake/sddm-qt5
index 808c87e..fe0b89d 100644
--- a/kde/cmake/sddm-qt5
+++ b/kde/cmake/sddm-qt5
@@ -13,5 +13,6 @@ cd build
-DUSE_QT4:BOOL=FALSE \
-DUSE_QT5:BOOL=TRUE \
-DENABLE_JOURNALD:BOOL=OFF \
+ -DENABLE_PAM:BOOL=OFF \
..
diff --git a/kde/doinst.sh/sddm-qt5 b/kde/doinst.sh/sddm-qt5
index c9f6a8d..d98a226 100644
--- a/kde/doinst.sh/sddm-qt5
+++ b/kde/doinst.sh/sddm-qt5
@@ -30,7 +30,7 @@ EOT
fi
fi
if ! chroot . getent passwd sddm > /dev/null; then
- useradd -c "SDDM Daemon Owner" -d $sddmhome -u $sddmuid \
+ chroot . useradd -c "SDDM Daemon Owner" -d $sddmhome -u $sddmuid \
-g sddm -s /bin/false sddm
res=$?
if [ $res -ne 0 ]; then
@@ -49,11 +49,12 @@ EOT
fi
fi
-mkdir -p $sddmhome
-chown -R sddm:sddm $sddmhome > /dev/null
+# Without a homedirectory, sddm will not start:
+chroot . mkdir -p $sddmhome
+chroot . chown -R sddm:sddm $sddmhome > /dev/null
# Generate a new configuration file if it does not exist:
-chroot . sddm --example-config > /etc/sddm.conf.new
+chroot . sddm --example-config > etc/sddm.conf.new
if ! grep -q "Current=breeze" etc/sddm.conf.new ; then
# Set the KDE5 theme 'breeze' as default, integrates better with Plasma 5: