summaryrefslogtreecommitdiff
path: root/packages/maemo/nokia770-init_1.0.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-08-14 09:13:19 +0000
committerKoen Kooi <koen@openembedded.org>2007-08-14 09:13:19 +0000
commitf3a45b7c1d95e15b7b2ca47231223cd2c3e34517 (patch)
treea6b98d278370dbb67c33fb3a493566f9e1013dfb /packages/maemo/nokia770-init_1.0.bb
parent2de36ea65ea43eddeef985d9a017bf1930e61309 (diff)
nokia77-init: sync with poky
Diffstat (limited to 'packages/maemo/nokia770-init_1.0.bb')
-rw-r--r--packages/maemo/nokia770-init_1.0.bb14
1 files changed, 8 insertions, 6 deletions
diff --git a/packages/maemo/nokia770-init_1.0.bb b/packages/maemo/nokia770-init_1.0.bb
index 96b8aa27be..0079940945 100644
--- a/packages/maemo/nokia770-init_1.0.bb
+++ b/packages/maemo/nokia770-init_1.0.bb
@@ -1,19 +1,18 @@
LICENSE = "GPL"
-PR = "r3"
+PR = "r6"
DEPENDS = "base-passwd"
-RDEPENDS = "hotplug"
SRC_URI = "file://fixup-770.sh"
-FILES_${PN} = "${sysconfdir} ${libdir}"
+COMPATIBLE_MACHINE = "(nokia770|nokia800)"
inherit update-rc.d
-
INITSCRIPT_NAME = "fixup-770.sh"
INITSCRIPT_PARAMS = "defaults 01"
+FILES_${PN} = "${sysconfdir} ${libdir}"
do_install () {
install -d ${D}${sysconfdir}/init.d
@@ -33,9 +32,12 @@ fi
# set up some links to firmware and modules in initrd
mkdir -p /lib/firmware
ln -sf /mnt/initfs/usr/lib/hotplug/firmware/3825.arm /lib/firmware/3825.arm
+ ln -sf /mnt/initfs/usr/lib/hotplug/firmware/3826.arm /lib/firmware/3826.arm
+ ln -sf /mnt/initfs/usr/lib/hotplug/firmware/bc4fw.bin /lib/firmware/bc4fw.bin
ln -sf /mnt/initfs/usr/lib/hotplug/firmware/brf6150fw.bin /lib/firmware/brf6150fw.bin
ln -sf /mnt/initfs/usr/lib/hotplug/firmware/mtlm3825.arm /lib/firmware/mtlm3825.arm
+ ln -sf /mnt/initfs/usr/lib/hotplug/firmware/mtlm3826.arm /lib/firmware/mtlm3826.arm
- rm -rf /lib/modules
- ln -s /mnt/initfs/lib/modules /lib/modules
+# rm -rf /lib/modules
+# ln -s /mnt/initfs/lib/modules /lib/modules
}