diff options
author | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2006-07-21 10:10:31 +0000 |
commit | b2f192faabe412adce79534e22efe9fb69ee40e2 (patch) | |
tree | 7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/maemo/nokia770-init_1.0.bb | |
parent | 2cf0eadf9f730027833af802d7e6c90b44248f80 (diff) | |
download | poky-b2f192faabe412adce79534e22efe9fb69ee40e2.tar.gz |
Rename /openembedded/ -> /meta/
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/maemo/nokia770-init_1.0.bb')
-rw-r--r-- | meta/packages/maemo/nokia770-init_1.0.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/packages/maemo/nokia770-init_1.0.bb b/meta/packages/maemo/nokia770-init_1.0.bb new file mode 100644 index 0000000000..84c1e3c279 --- /dev/null +++ b/meta/packages/maemo/nokia770-init_1.0.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | LICENSE = "GPL" | ||
2 | MAINTAINER = "Florian Boor <florian@kernelconcepts.de" | ||
3 | PR = "r5" | ||
4 | |||
5 | DEPENDS = "base-passwd" | ||
6 | #RDEPENDS = "hotplug" | ||
7 | |||
8 | SRC_URI = "file://fixup-770.sh" | ||
9 | |||
10 | FILES_${PN} = "${sysconfdir} ${libdir}" | ||
11 | |||
12 | inherit update-rc.d | ||
13 | |||
14 | |||
15 | INITSCRIPT_NAME = "fixup-770.sh" | ||
16 | INITSCRIPT_PARAMS = "defaults 01" | ||
17 | |||
18 | |||
19 | do_install () { | ||
20 | install -d ${D}${sysconfdir}/init.d | ||
21 | install -m 755 ${WORKDIR}/fixup-770.sh ${D}/${sysconfdir}/init.d/fixup-770.sh | ||
22 | |||
23 | install -d ${D}/lib/firmware | ||
24 | } | ||
25 | |||
26 | pkg_postinst () { | ||
27 | #!/bin/sh | ||
28 | |||
29 | # can't do adduser stuff offline | ||
30 | if [ "x$D" != "x" ]; then | ||
31 | exit 1 | ||
32 | fi | ||
33 | |||
34 | # set up some links to firmware and modules in initrd | ||
35 | mkdir -p /lib/firmware | ||
36 | ln -sf /mnt/initfs/usr/lib/hotplug/firmware/3825.arm /lib/firmware/3825.arm | ||
37 | ln -sf /mnt/initfs/usr/lib/hotplug/firmware/brf6150fw.bin /lib/firmware/brf6150fw.bin | ||
38 | ln -sf /mnt/initfs/usr/lib/hotplug/firmware/mtlm3825.arm /lib/firmware/mtlm3825.arm | ||
39 | |||
40 | # rm -rf /lib/modules | ||
41 | # ln -s /mnt/initfs/lib/modules /lib/modules | ||
42 | } | ||