summaryrefslogtreecommitdiff
path: root/packages/initscripts/initscripts_1.0.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2005-02-13 21:43:58 +0000
committerRichard Purdie <rpurdie@rpsys.net>2005-02-13 21:43:58 +0000
commit88a2570d6d70d3dca3f682604582d2e2612f1e2c (patch)
treeb91cce0a4b916080ccad9516cf8f021bbcf5595e /packages/initscripts/initscripts_1.0.bb
parentc3ab2b4569f43fec9107cde7df99149f063f0983 (diff)
Add KERNEL_VERSION option to select kernel preference for zaurus clamshells. Kill off openzaurus-pxa-2.6 machine type.
BKrev: 420fca1ej6LEvrP_Xe_wpNwLC8AyAQ
Diffstat (limited to 'packages/initscripts/initscripts_1.0.bb')
-rw-r--r--packages/initscripts/initscripts_1.0.bb17
1 files changed, 10 insertions, 7 deletions
diff --git a/packages/initscripts/initscripts_1.0.bb b/packages/initscripts/initscripts_1.0.bb
index ed22ca46b5..25d884892b 100644
--- a/packages/initscripts/initscripts_1.0.bb
+++ b/packages/initscripts/initscripts_1.0.bb
@@ -5,7 +5,6 @@ PRIORITY = "required"
DEPENDS = "makedevs"
DEPENDS_openzaurus = "makedevs virtual/kernel"
RDEPENDS = "makedevs"
-RDEPENDS_openzaurus-pxa-2.6 = "makedevs console-tools"
LICENSE = "GPL"
PR = "r32"
@@ -34,8 +33,12 @@ SRC_URI = "file://halt \
SRC_URI_append_arm = " file://alignment.sh"
SRC_URI_append_openzaurus = " file://checkversion"
-SRC_URI_append_openzaurus-pxa-2.6 = " file://corgikeymap.map"
-SRC_URI_append_openzaurus-pxa-2.6 = " file://keymap.sh"
+SRC_URI_append_corgi = " file://keymap"
+SRC_URI_append_shepherd = " file://keymap"
+SRC_URI_append_husky = " file://keymap"
+SRC_URI_append_corgi = " file://corgikeymap.map"
+SRC_URI_append_shepherd = " file://corgikeymap.map"
+SRC_URI_append_husky = " file://corgikeymap.map"
def read_kernel_version(d):
import bb
@@ -92,10 +95,10 @@ do_install () {
ln -sf ../init.d/checkversion ${D}/etc/rcS.d/S05version
fi
- if [ "${MACHINE}" == "openzaurus-pxa-2.6" ]; then
- install -m 0755 ${WORKDIR}/corgikeymap.map ${D}/etc
- install -m 0755 ${WORKDIR}/keymap.sh ${D}/etc/init.d
- ln -sf ../init.d/keymap.sh ${D}/etc/rcS.d/S04keymap.sh
+ if [ "${MACHINE}" == "corgi" -o "${MACHINE}" == "shepherd" -o "${MACHINE}" == "husky" ]; then
+ install -m 0755 ${WORKDIR}/corgikeymap-2.6.map ${D}/etc
+ install -m 0755 ${WORKDIR}/keymap ${D}/etc/init.d
+ ln -sf ../init.d/keymap ${D}/etc/rcS.d/S04keymap
fi