mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
keymaps: systemd support now in OE-Core
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
committed by
Martin Jansa
parent
dee3763837
commit
913ae2e716
@@ -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
|
|
||||||
@@ -1,15 +1,4 @@
|
|||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
|
||||||
|
|
||||||
SRC_URI += " file://keymaps.service"
|
|
||||||
|
|
||||||
inherit systemd
|
|
||||||
RPROVIDES_${PN} += "${PN}-systemd"
|
RPROVIDES_${PN} += "${PN}-systemd"
|
||||||
RREPLACES_${PN} += "${PN}-systemd"
|
RREPLACES_${PN} += "${PN}-systemd"
|
||||||
RCONFLICTS_${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
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user