summaryrefslogtreecommitdiffstats
path: root/meta-systemd
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2014-09-17 15:29:55 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2014-09-26 05:41:52 +0200
commit913ae2e716c528e02f2322789c04154b366332c1 (patch)
tree13f8612f6c5ad86b376f6153d783a3da3a402ee1 /meta-systemd
parentdee376383721781118c6115a4593ad969e0830c1 (diff)
downloadmeta-openembedded-913ae2e716c528e02f2322789c04154b366332c1.tar.gz
keymaps: systemd support now in OE-Core
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta-systemd')
-rw-r--r--meta-systemd/oe-core/recipes-bsp/keymaps/keymaps/keymaps.service9
-rw-r--r--meta-systemd/oe-core/recipes-bsp/keymaps/keymaps_1.0.bbappend11
2 files changed, 0 insertions, 20 deletions
diff --git a/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps/keymaps.service b/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps/keymaps.service
deleted file mode 100644
index 414ad0cf0..000000000
--- a/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps/keymaps.service
+++ /dev/null
@@ -1,9 +0,0 @@
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-systemd/oe-core/recipes-bsp/keymaps/keymaps_1.0.bbappend b/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps_1.0.bbappend
index bc40c6022..181b8784d 100644
--- a/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps_1.0.bbappend
+++ b/meta-systemd/oe-core/recipes-bsp/keymaps/keymaps_1.0.bbappend
@@ -1,15 +1,4 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2
3SRC_URI += " file://keymaps.service"
4
5inherit systemd
6RPROVIDES_${PN} += "${PN}-systemd" 1RPROVIDES_${PN} += "${PN}-systemd"
7RREPLACES_${PN} += "${PN}-systemd" 2RREPLACES_${PN} += "${PN}-systemd"
8RCONFLICTS_${PN} += "${PN}-systemd" 3RCONFLICTS_${PN} += "${PN}-systemd"
9SYSTEMD_SERVICE_${PN} = "${PN}.service"
10
11do_install_append() {
12 install -d ${D}${systemd_unitdir}/system
13 install -m 0644 ${WORKDIR}/${PN}.service ${D}${systemd_unitdir}/system
14}
15 4