Add SDDM configuration and make sure its home dir exists

This commit is contained in:
Volker Krause
2018-07-01 12:08:27 +02:00
parent 836e5c2276
commit 1ef2bb2a93
2 changed files with 16 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ DEPENDS = " \
SRC_URI = " \
git://github.com/sddm/${BPN};nobranch=1 \
file://0001-fix-qml-installation.diff \
file://sddm.conf \
"
S = "${WORKDIR}/git"
@@ -23,6 +24,15 @@ inherit cmake_qt5 pkgconfig systemd useradd
EXTRA_OECMAKE += "-DQML_INSTALL_DIR=${OE_QMAKE_PATH_QML}"
do_install_append() {
mkdir -p ${d}${sysconfdir}
cp ${WORKDIR}/sddm.conf ${D}${sysconfdir}/sddm.conf
mkdir -p ${D}${localstatedir}/lib/sddm
chown -R sddm:sddm ${D}${localstatedir}/lib/sddm
chmod 0750 ${D}${localstatedir}/lib/sddm
}
FILES_${PN} += " \
${libdir}/qml \
"

View File

@@ -0,0 +1,6 @@
[Theme]
Current=breeze
[Autologin]
User=kde
Session=plasma-mobile