summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-bsp
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2012-03-26 18:24:32 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2012-03-29 16:14:37 +0200
commit17ffdaa698c50610dd941d882ee12e77af4c9161 (patch)
tree4656588ea48a6da2a7c665b66341e4ff17d2ab76 /meta-oe/recipes-bsp
parent803c8d2b08881460b07c9798036c8b5101d6e3c9 (diff)
downloadmeta-openembedded-17ffdaa698c50610dd941d882ee12e77af4c9161.tar.gz
keymaps: import systemd support from meta-shr layer
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-bsp')
-rw-r--r--meta-oe/recipes-bsp/keymaps/keymaps/keymaps.service9
-rw-r--r--meta-oe/recipes-bsp/keymaps/keymaps_1.0.bbappend8
2 files changed, 17 insertions, 0 deletions
diff --git a/meta-oe/recipes-bsp/keymaps/keymaps/keymaps.service b/meta-oe/recipes-bsp/keymaps/keymaps/keymaps.service
new file mode 100644
index 000000000..414ad0cf0
--- /dev/null
+++ b/meta-oe/recipes-bsp/keymaps/keymaps/keymaps.service
@@ -0,0 +1,9 @@
1[Unit]
2Description=Loads custom keymap if available
3ConditionPathExists=/etc/keymap-2.6.map
4
5[Service]
6ExecStart=/usr/bin/loadkeys /etc/keymap-2.6.map
7
8[Install]
9WantedBy=multi-user.target
diff --git a/meta-oe/recipes-bsp/keymaps/keymaps_1.0.bbappend b/meta-oe/recipes-bsp/keymaps/keymaps_1.0.bbappend
new file mode 100644
index 000000000..b144e9f16
--- /dev/null
+++ b/meta-oe/recipes-bsp/keymaps/keymaps_1.0.bbappend
@@ -0,0 +1,8 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2PRINC := "${@int(PRINC) + 4}"
3
4SRC_URI += " file://keymaps.service"
5
6inherit systemd
7SYSTEMD_PACKAGES = "${PN}-systemd"
8SYSTEMD_SERVICE = "${PN}.service"