Add SDDM configuration and make sure its home dir exists
This commit is contained in:
@@ -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 \
|
||||
"
|
||||
|
||||
6
recipes-support/sddm/sddm.conf
Normal file
6
recipes-support/sddm/sddm.conf
Normal file
@@ -0,0 +1,6 @@
|
||||
[Theme]
|
||||
Current=breeze
|
||||
|
||||
[Autologin]
|
||||
User=kde
|
||||
Session=plasma-mobile
|
||||
Reference in New Issue
Block a user