From: Paul Eggleton Date: Thu, 24 Jul 2008 19:47:24 +0000 (+0000) Subject: h2200-bootloader: ensure mtdblock is available and loaded X-Git-Tag: Release-2010-05/1~6478^2^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ae6dc995485604b52f0423651bc76d4a36af042;p=openembedded.git h2200-bootloader: ensure mtdblock is available and loaded * Add kernel-module-mtdblock to RRECOMMENDS * modprobe mtdblock before accessing mtdblock device --- 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 }