kscreenlocker: deploy default configurations

This commit is contained in:
Andreas Cord-Landwehr
2023-12-24 12:56:37 +01:00
parent 43c8d08470
commit 317b5f8a83
3 changed files with 13 additions and 1 deletions

View File

@@ -32,13 +32,18 @@ DEPENDS = " \
SRC_URI:append = " \
file://kde.pam \
file://kscreenlockerrc \
file://kscreensaverrc \
"
inherit cmake_plasma
do_install:append() {
install -d ${D}${sysconfdir}/pam.d
install -d 0755 ${D}${sysconfdir}/pam.d
install -m 0644 ${WORKDIR}/kde.pam ${D}${sysconfdir}/pam.d/kde
install -d 0755 ${D}{sysconfdir}/xdg
install -m 0644 ${WORKDIR}/kscreenlockerrc ${D}{sysconfdir}/xdg/
install -m 0644 ${WORKDIR}/kscreensaverrc ${D}{sysconfdir}/xdg/
}
FILES:${PN} += " \

View File

@@ -0,0 +1,5 @@
[$Version]
update_info=kscreenlocker.upd:0.1-autolock
[Daemon]
Autolock=false

View File

@@ -0,0 +1,2 @@
[ScreenSaver]
Enabled=true