summaryrefslogtreecommitdiff
path: root/packages/initscripts
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-06-08 20:40:13 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2005-06-08 20:40:13 +0000
commit708749b6b99848be51d0cc592acf8fcc8c956c3f (patch)
tree47a71b87f3f7daa82d4bc9eec0d84b69217020ec /packages/initscripts
parent03735a3bce565d44e23ffd2dc1b8828ba1087cdd (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2005/06/08 22:37:47+02:00 opfer.lan!dirk tosa 2.6 kernelupdate, load tosakeymap-2.6 and set propper TSLIB_TSDEVICE 2005/06/08 22:27:08+02:00 utwente.nl!koen Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into bitbake.utwente.nl:/home/koen/OE/openembedded 2005/06/08 22:26:45+02:00 utwente.nl!koen xfonts-xorg_6.8.bb: remove spurious inheritance BKrev: 42a757adZFKZWxIqPymCZREVyFRQfQ
Diffstat (limited to 'packages/initscripts')
-rw-r--r--packages/initscripts/initscripts-1.0/tosa/devices5
-rw-r--r--packages/initscripts/initscripts-1.0/tosa/keymap0
-rw-r--r--packages/initscripts/initscripts-1.0/tosakeymap-2.6.map0
-rw-r--r--packages/initscripts/initscripts_1.0.bb11
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