diff options
author | Paul Eggleton <bluelightning@bluelightning.org> | 2008-07-24 19:47:24 +0000 |
---|---|---|
committer | Paul Eggleton <bluelightning@bluelightning.org> | 2008-07-24 19:47:24 +0000 |
commit | 1ae6dc995485604b52f0423651bc76d4a36af042 (patch) | |
tree | 22d1506ff78a87ebbb9861abbe1e9bc0804e3c40 /packages/h2200-bootloader | |
parent | c183920a93422f7df429c7d334b1fe8ecec4e5c5 (diff) |
h2200-bootloader: ensure mtdblock is available and loaded
* Add kernel-module-mtdblock to RRECOMMENDS
* modprobe mtdblock before accessing mtdblock device
Diffstat (limited to 'packages/h2200-bootloader')
-rw-r--r-- | packages/h2200-bootloader/h2200-bootloader.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/h2200-bootloader/h2200-bootloader.bb b/packages/h2200-bootloader/h2200-bootloader.bb index dc7c2277a8..ea58d34838 100644 --- a/packages/h2200-bootloader/h2200-bootloader.bb +++ b/packages/h2200-bootloader/h2200-bootloader.bb @@ -1,6 +1,7 @@ DESCRIPTION = "Bootloader firmware extractor for the h2200 iPAQ" +RRECOMMENDS = "kernel-module-mtdblock" ALLOW_EMPTY = "1" -PR="r2" +PR = "r3" COMPATIBLE_MACHINE = "h2200" #it is a shell script, but lets protect the innocent some more @@ -9,5 +10,6 @@ PACKAGE_ARCH = "h2200" pkg_postinst() { #!/bin/sh mkdir -p /lib/firmware +modprobe mtdblock dd if=/dev/mtdblock0 of=/lib/firmware/h2200_bootloader.bin 2>/dev/null } |