mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
keymaps: import systemd support from meta-shr layer
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
[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
|
||||
@@ -0,0 +1,8 @@
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
||||
PRINC := "${@int(PRINC) + 4}"
|
||||
|
||||
SRC_URI += " file://keymaps.service"
|
||||
|
||||
inherit systemd
|
||||
SYSTEMD_PACKAGES = "${PN}-systemd"
|
||||
SYSTEMD_SERVICE = "${PN}.service"
|
||||
Reference in New Issue
Block a user