keymaps: systemd support now in OE-Core

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2014-09-17 15:29:55 +01:00 committed by Martin Jansa
parent dee3763837
commit 913ae2e716
2 changed files with 0 additions and 20 deletions

View File

@ -1,9 +0,0 @@
[Unit]
Description=Loads custom keymap if available
ConditionPathExists=/etc/keymap-2.6.map
[Service]
ExecStart=/usr/bin/loadkeys /etc/keymap-2.6.map
[Install]
WantedBy=multi-user.target

View File

@ -1,15 +1,4 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += " file://keymaps.service"
inherit systemd
RPROVIDES_${PN} += "${PN}-systemd"
RREPLACES_${PN} += "${PN}-systemd"
RCONFLICTS_${PN} += "${PN}-systemd"
SYSTEMD_SERVICE_${PN} = "${PN}.service"
do_install_append() {
install -d ${D}${systemd_unitdir}/system
install -m 0644 ${WORKDIR}/${PN}.service ${D}${systemd_unitdir}/system
}