summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/keymaps/keymaps_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/keymaps/keymaps_1.0.bb')
-rw-r--r--meta/recipes-bsp/keymaps/keymaps_1.0.bb28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-bsp/keymaps/keymaps_1.0.bb b/meta/recipes-bsp/keymaps/keymaps_1.0.bb
new file mode 100644
index 0000000..123db3e
--- /dev/null
+++ b/meta/recipes-bsp/keymaps/keymaps_1.0.bb
@@ -0,0 +1,28 @@
1SUMMARY = "Keyboard maps"
2DESCRIPTION = "Keymaps and initscript to set the keymap on bootup."
3SECTION = "base"
4
5# Distro can override initscripts provider
6VIRTUAL-RUNTIME_initscripts ?= "initscripts"
7
8RDEPENDS_${PN} = "${VIRTUAL-RUNTIME_initscripts} kbd"
9
10LICENSE = "GPLv2"
11LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
12PACKAGE_ARCH = "${MACHINE_ARCH}"
13PR = "r31"
14
15INHIBIT_DEFAULT_DEPS = "1"
16
17inherit update-rc.d
18
19SRC_URI = "file://keymap.sh \
20 file://GPLv2.patch"
21
22INITSCRIPT_NAME = "keymap.sh"
23INITSCRIPT_PARAMS = "start 01 S ."
24
25do_install () {
26 install -d ${D}${sysconfdir}/init.d/
27 install -m 0755 ${WORKDIR}/keymap.sh ${D}${sysconfdir}/init.d/
28}