summaryrefslogtreecommitdiff
path: root/packages/h2200-bootloader/h2200-bootloader.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/h2200-bootloader/h2200-bootloader.bb')
-rw-r--r--packages/h2200-bootloader/h2200-bootloader.bb10
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/h2200-bootloader/h2200-bootloader.bb b/packages/h2200-bootloader/h2200-bootloader.bb
new file mode 100644
index 0000000000..bf41d9e10c
--- /dev/null
+++ b/packages/h2200-bootloader/h2200-bootloader.bb
@@ -0,0 +1,10 @@
+DESCRIPTION = "Bootloader firmware extractor for the h2200 iPAQ"
+RRECOMMENDS = "kernel-module-mtdblock kernel-module-hamcop-nand"
+ALLOW_EMPTY = "1"
+MAINTAINER = "Koen Kooi <koen@handhelds.org>"
+
+
+pkg_postinst() {
+#!/bin/sh
+modprobe mtdblock && mkdir -p /lib/firmware && modprobe hamcop_nand && dd if=/dev/mtdblock0 of=/lib/firmware/hamcop_bootloader.bin
+}