diff options
Diffstat (limited to 'meta-extras/packages/maemo/nokia770-init_1.0.bb')
-rw-r--r-- | meta-extras/packages/maemo/nokia770-init_1.0.bb | 38 |
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 @@ | |||
1 | LICENSE = "GPL" | ||
2 | PR = "r7" | ||
3 | |||
4 | DEPENDS = "base-passwd" | ||
5 | |||
6 | SRC_URI = "file://fixup-770.sh" | ||
7 | |||
8 | COMPATIBLE_MACHINE = "(nokia770|nokia800)" | ||
9 | |||
10 | inherit update-rc.d | ||
11 | |||
12 | INITSCRIPT_NAME = "fixup-770.sh" | ||
13 | INITSCRIPT_PARAMS = "defaults 01" | ||
14 | |||
15 | FILES_${PN} = "${sysconfdir} ${libdir}" | ||
16 | |||
17 | do_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 | |||
24 | pkg_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 | } | ||