summaryrefslogtreecommitdiff
path: root/packages/maemo
diff options
context:
space:
mode:
Diffstat (limited to 'packages/maemo')
-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
}