mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
keymaps: initscript can be sourced
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4797 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -3,11 +3,11 @@ SECTION = "base"
|
|||||||
RDEPENDS = "initscripts console-tools"
|
RDEPENDS = "initscripts console-tools"
|
||||||
LICENSE = "GPL"
|
LICENSE = "GPL"
|
||||||
PACKAGE_ARCH = "${MACHINE}"
|
PACKAGE_ARCH = "${MACHINE}"
|
||||||
PR = "r15"
|
PR = "r16"
|
||||||
|
|
||||||
inherit update-rc.d
|
inherit update-rc.d
|
||||||
|
|
||||||
SRC_URI = "file://keymap"
|
SRC_URI = "file://keymap.sh"
|
||||||
|
|
||||||
SRC_URI_append_c7x0 = " file://keymap-*.map"
|
SRC_URI_append_c7x0 = " file://keymap-*.map"
|
||||||
SRC_URI_append_tosa = " file://keymap-*.map"
|
SRC_URI_append_tosa = " file://keymap-*.map"
|
||||||
@@ -19,12 +19,12 @@ SRC_URI_append_jornada6xx = " file://keymap-*.map"
|
|||||||
SRC_URI_append_h2200 = " file://keymap-*.map"
|
SRC_URI_append_h2200 = " file://keymap-*.map"
|
||||||
SRC_URI_append_htcuniversal = " file://keymap-*.map"
|
SRC_URI_append_htcuniversal = " file://keymap-*.map"
|
||||||
|
|
||||||
INITSCRIPT_NAME = "keymap"
|
INITSCRIPT_NAME = "keymap.sh"
|
||||||
INITSCRIPT_PARAMS = "start 01 S ."
|
INITSCRIPT_PARAMS = "start 01 S ."
|
||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
install -d ${D}${sysconfdir}/init.d/
|
install -d ${D}${sysconfdir}/init.d/
|
||||||
install -m 0755 ${WORKDIR}/keymap ${D}${sysconfdir}/init.d/
|
install -m 0755 ${WORKDIR}/keymap.sh ${D}${sysconfdir}/init.d/
|
||||||
|
|
||||||
case ${MACHINE} in
|
case ${MACHINE} in
|
||||||
c7x0 | tosa | spitz | akita | borzoi | collie | poodle | jornada6xx | h2200 | htcuniversal )
|
c7x0 | tosa | spitz | akita | borzoi | collie | poodle | jornada6xx | h2200 | htcuniversal )
|
||||||
|
|||||||
Reference in New Issue
Block a user