diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2014-09-17 15:29:55 +0100 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2014-09-26 05:41:52 +0200 |
commit | 913ae2e716c528e02f2322789c04154b366332c1 (patch) | |
tree | 13f8612f6c5ad86b376f6153d783a3da3a402ee1 /meta-systemd | |
parent | dee376383721781118c6115a4593ad969e0830c1 (diff) | |
download | meta-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.service | 9 | ||||
-rw-r--r-- | meta-systemd/oe-core/recipes-bsp/keymaps/keymaps_1.0.bbappend | 11 |
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] | ||
2 | Description=Loads custom keymap if available | ||
3 | ConditionPathExists=/etc/keymap-2.6.map | ||
4 | |||
5 | [Service] | ||
6 | ExecStart=/usr/bin/loadkeys /etc/keymap-2.6.map | ||
7 | |||
8 | [Install] | ||
9 | WantedBy=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 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | SRC_URI += " file://keymaps.service" | ||
4 | |||
5 | inherit systemd | ||
6 | RPROVIDES_${PN} += "${PN}-systemd" | 1 | RPROVIDES_${PN} += "${PN}-systemd" |
7 | RREPLACES_${PN} += "${PN}-systemd" | 2 | RREPLACES_${PN} += "${PN}-systemd" |
8 | RCONFLICTS_${PN} += "${PN}-systemd" | 3 | RCONFLICTS_${PN} += "${PN}-systemd" |
9 | SYSTEMD_SERVICE_${PN} = "${PN}.service" | ||
10 | |||
11 | do_install_append() { | ||
12 | install -d ${D}${systemd_unitdir}/system | ||
13 | install -m 0644 ${WORKDIR}/${PN}.service ${D}${systemd_unitdir}/system | ||
14 | } | ||
15 | 4 | ||