mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
keymaps: systemd support now in OE-Core
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
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"
|
||||
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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user