summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/kbd/kbd_2.4.0.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-core/kbd/kbd_2.4.0.bb b/meta/recipes-core/kbd/kbd_2.4.0.bb
index 4d32263e84..65ba70bf47 100644
--- a/meta/recipes-core/kbd/kbd_2.4.0.bb
+++ b/meta/recipes-core/kbd/kbd_2.4.0.bb
@@ -29,6 +29,13 @@ FILES_${PN}-consoletrans = "${datadir}/consoletrans"
29FILES_${PN}-keymaps = "${datadir}/keymaps" 29FILES_${PN}-keymaps = "${datadir}/keymaps"
30FILES_${PN}-unimaps = "${datadir}/unimaps" 30FILES_${PN}-unimaps = "${datadir}/unimaps"
31 31
32do_install_append () {
33 if [ ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'yes', '', d)} = yes ] \
34 && [ -f ${D}${sysconfdir}/pam.d/vlock ]; then
35 mv -f ${D}${sysconfdir}/pam.d/vlock ${D}${sysconfdir}/pam.d/vlock.kbd
36 fi
37}
38
32inherit update-alternatives 39inherit update-alternatives
33 40
34ALTERNATIVE_${PN} = "chvt deallocvt fgconsole openvt showkey \ 41ALTERNATIVE_${PN} = "chvt deallocvt fgconsole openvt showkey \