diff options
author | Richard Purdie <richard@openedhand.com> | 2007-11-25 14:08:53 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-11-25 14:08:53 +0000 |
commit | a7ed27d541a5d2c5a8656465a2b1dac2e131b1c5 (patch) | |
tree | 28f3a672cd35116bbaba314aa93f35dd534c7315 /meta/packages/maemo/nokia770-init_1.0.bb | |
parent | 7be7ded669f00fe38c0d6fa9244869e2a7b6cc92 (diff) | |
download | poky-a7ed27d541a5d2c5a8656465a2b1dac2e131b1c5.tar.gz |
nokia770-init: Cleanup postinst to allow it to work offline
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3231 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 | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/meta/packages/maemo/nokia770-init_1.0.bb b/meta/packages/maemo/nokia770-init_1.0.bb index 0079940945..22c9c50b91 100644 --- a/meta/packages/maemo/nokia770-init_1.0.bb +++ b/meta/packages/maemo/nokia770-init_1.0.bb | |||
@@ -24,20 +24,15 @@ do_install () { | |||
24 | pkg_postinst () { | 24 | pkg_postinst () { |
25 | #!/bin/sh | 25 | #!/bin/sh |
26 | 26 | ||
27 | # can't do adduser stuff offline | ||
28 | if [ "x$D" != "x" ]; then | ||
29 | exit 1 | ||
30 | fi | ||
31 | |||
32 | # set up some links to firmware and modules in initrd | 27 | # set up some links to firmware and modules in initrd |
33 | mkdir -p /lib/firmware | 28 | mkdir -p $D/lib/firmware |
34 | ln -sf /mnt/initfs/usr/lib/hotplug/firmware/3825.arm /lib/firmware/3825.arm | 29 | ln -sf /mnt/initfs/usr/lib/hotplug/firmware/3825.arm $D/lib/firmware/3825.arm |
35 | ln -sf /mnt/initfs/usr/lib/hotplug/firmware/3826.arm /lib/firmware/3826.arm | 30 | ln -sf /mnt/initfs/usr/lib/hotplug/firmware/3826.arm $D/lib/firmware/3826.arm |
36 | ln -sf /mnt/initfs/usr/lib/hotplug/firmware/bc4fw.bin /lib/firmware/bc4fw.bin | 31 | ln -sf /mnt/initfs/usr/lib/hotplug/firmware/bc4fw.bin $D/lib/firmware/bc4fw.bin |
37 | ln -sf /mnt/initfs/usr/lib/hotplug/firmware/brf6150fw.bin /lib/firmware/brf6150fw.bin | 32 | ln -sf /mnt/initfs/usr/lib/hotplug/firmware/brf6150fw.bin $D/lib/firmware/brf6150fw.bin |
38 | ln -sf /mnt/initfs/usr/lib/hotplug/firmware/mtlm3825.arm /lib/firmware/mtlm3825.arm | 33 | ln -sf /mnt/initfs/usr/lib/hotplug/firmware/mtlm3825.arm $D/lib/firmware/mtlm3825.arm |
39 | ln -sf /mnt/initfs/usr/lib/hotplug/firmware/mtlm3826.arm /lib/firmware/mtlm3826.arm | 34 | ln -sf /mnt/initfs/usr/lib/hotplug/firmware/mtlm3826.arm $D/lib/firmware/mtlm3826.arm |
40 | 35 | ||
41 | # rm -rf /lib/modules | 36 | # rm -rf $D/lib/modules |
42 | # ln -s /mnt/initfs/lib/modules /lib/modules | 37 | # ln -s /mnt/initfs/lib/modules $D/lib/modules |
43 | } | 38 | } |