summaryrefslogtreecommitdiffstats
path: root/meta/packages/maemo/nokia770-init_1.0.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
committerRichard Purdie <richard@openedhand.com>2006-07-21 10:10:31 +0000
commitb2f192faabe412adce79534e22efe9fb69ee40e2 (patch)
tree7076c49d4286f8a1733650bd8fbc7161af200d57 /meta/packages/maemo/nokia770-init_1.0.bb
parent2cf0eadf9f730027833af802d7e6c90b44248f80 (diff)
downloadpoky-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.bb42
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 @@
1LICENSE = "GPL"
2MAINTAINER = "Florian Boor <florian@kernelconcepts.de"
3PR = "r5"
4
5DEPENDS = "base-passwd"
6#RDEPENDS = "hotplug"
7
8SRC_URI = "file://fixup-770.sh"
9
10FILES_${PN} = "${sysconfdir} ${libdir}"
11
12inherit update-rc.d
13
14
15INITSCRIPT_NAME = "fixup-770.sh"
16INITSCRIPT_PARAMS = "defaults 01"
17
18
19do_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
26pkg_postinst () {
27#!/bin/sh
28
29# can't do adduser stuff offline
30if [ "x$D" != "x" ]; then
31 exit 1
32fi
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}