summaryrefslogtreecommitdiff
path: root/packages/initscripts/initscripts_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/initscripts/initscripts_1.0.bb')
-rw-r--r--packages/initscripts/initscripts_1.0.bb11
1 files changed, 9 insertions, 2 deletions
diff --git a/packages/initscripts/initscripts_1.0.bb b/packages/initscripts/initscripts_1.0.bb
index 003cfcb424..94d5506d84 100644
--- a/packages/initscripts/initscripts_1.0.bb
+++ b/packages/initscripts/initscripts_1.0.bb
@@ -6,7 +6,7 @@ DEPENDS = "makedevs"
DEPENDS_openzaurus = "makedevs virtual/kernel"
RDEPENDS = "makedevs"
LICENSE = "GPL"
-PR = "r44"
+PR = "r45"
SRC_URI = "file://halt \
file://ramdisk \
@@ -30,11 +30,13 @@ SRC_URI = "file://halt \
file://umountnfs.sh \
file://sysfs.sh \
file://device_table.txt \
- file://corgikeymap-2.6.map"
+ file://corgikeymap-2.6.map \
+ file://tosakeymap-2.6.map"
SRC_URI_append_arm = " file://alignment.sh"
SRC_URI_append_openzaurus = " file://checkversion"
SRC_URI_append_c7x0 = " file://keymap"
+SRC_URI_append_tosa = " file://keymap"
def read_kernel_version(d):
import bb
@@ -99,6 +101,11 @@ do_install () {
ln -sf ../init.d/keymap ${D}${sysconfdir}/rcS.d/S00keymap
fi
+ if [ "${MACHINE}" == "tosa" ]; then
+ install -m 0755 ${WORKDIR}/tosakeymap-2.6.map ${D}${sysconfdir}
+ install -m 0755 ${WORKDIR}/keymap ${D}${sysconfdir}/init.d
+ ln -sf ../init.d/keymap ${D}${sysconfdir}/rcS.d/S00keymap
+ fi
install -m 0755 ${WORKDIR}/banner ${D}${sysconfdir}/init.d/banner
install -m 0755 ${WORKDIR}/devices ${D}${sysconfdir}/init.d/devices