summaryrefslogtreecommitdiffstats
path: root/meta-extras/packages/maemo/nokia770-init_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-extras/packages/maemo/nokia770-init_1.0.bb')
-rw-r--r--meta-extras/packages/maemo/nokia770-init_1.0.bb38
1 files changed, 0 insertions, 38 deletions
diff --git a/meta-extras/packages/maemo/nokia770-init_1.0.bb b/meta-extras/packages/maemo/nokia770-init_1.0.bb
deleted file mode 100644
index 9075c016a6..0000000000
--- a/meta-extras/packages/maemo/nokia770-init_1.0.bb
+++ /dev/null
@@ -1,38 +0,0 @@
1LICENSE = "GPL"
2PR = "r7"
3
4DEPENDS = "base-passwd"
5
6SRC_URI = "file://fixup-770.sh"
7
8COMPATIBLE_MACHINE = "(nokia770|nokia800)"
9
10inherit update-rc.d
11
12INITSCRIPT_NAME = "fixup-770.sh"
13INITSCRIPT_PARAMS = "defaults 01"
14
15FILES_${PN} = "${sysconfdir} ${libdir}"
16
17do_install () {
18 install -d ${D}${sysconfdir}/init.d
19 install -m 755 ${WORKDIR}/fixup-770.sh ${D}/${sysconfdir}/init.d/fixup-770.sh
20
21 install -d ${D}/lib/firmware
22}
23
24pkg_postinst () {
25#!/bin/sh
26
27# set up some links to firmware and modules in initrd
28 mkdir -p $D/lib/firmware
29 ln -sf /mnt/initfs/usr/lib/hotplug/firmware/3825.arm $D/lib/firmware/3825.arm
30 ln -sf /mnt/initfs/usr/lib/hotplug/firmware/3826.arm $D/lib/firmware/3826.arm
31 ln -sf /mnt/initfs/usr/lib/hotplug/firmware/bc4fw.bin $D/lib/firmware/bc4fw.bin
32 ln -sf /mnt/initfs/usr/lib/hotplug/firmware/brf6150fw.bin $D/lib/firmware/brf6150fw.bin
33 ln -sf /mnt/initfs/usr/lib/hotplug/firmware/mtlm3825.arm $D/lib/firmware/mtlm3825.arm
34 ln -sf /mnt/initfs/usr/lib/hotplug/firmware/mtlm3826.arm $D/lib/firmware/mtlm3826.arm
35
36# rm -rf $D/lib/modules
37# ln -s /mnt/initfs/lib/modules $D/lib/modules
38}