diff options
Diffstat (limited to 'packages/initscripts')
-rw-r--r-- | packages/initscripts/initscripts-1.0/tosa/devices | 5 | ||||
-rw-r--r-- | packages/initscripts/initscripts-1.0/tosa/keymap | 0 | ||||
-rw-r--r-- | packages/initscripts/initscripts-1.0/tosakeymap-2.6.map | 0 | ||||
-rw-r--r-- | packages/initscripts/initscripts_1.0.bb | 11 |
4 files changed, 14 insertions, 2 deletions
diff --git a/packages/initscripts/initscripts-1.0/tosa/devices b/packages/initscripts/initscripts-1.0/tosa/devices index 2d0d15d54f..5ae15589b8 100644 --- a/packages/initscripts/initscripts-1.0/tosa/devices +++ b/packages/initscripts/initscripts-1.0/tosa/devices @@ -43,6 +43,11 @@ else cd / mkdir -p dev/msys mkdir -p dev/pts + mkdir -p dev/input + mkdir -p dev/vc + for i in 0 1 2 3 4 5 6 7 8 9; do + ln -s /dev/tty$i /dev/vc/$i + done ln -sf /dev/sharp_ts /dev/ts ln -sf /dev/sharp_fl /dev/fl ln -sf /proc/self/fd /dev/fd diff --git a/packages/initscripts/initscripts-1.0/tosa/keymap b/packages/initscripts/initscripts-1.0/tosa/keymap new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/initscripts/initscripts-1.0/tosa/keymap diff --git a/packages/initscripts/initscripts-1.0/tosakeymap-2.6.map b/packages/initscripts/initscripts-1.0/tosakeymap-2.6.map new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/initscripts/initscripts-1.0/tosakeymap-2.6.map 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 |