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