summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/h2200-bootloader/h2200-bootloader.bb4
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
}