Add hook file to scripts dir with debian patch
[ubuntu-omap:abefw-omap4plus.git] / debian / patches / 0002-abefw-omap4plus-hook.patch
1 Index: abefw-omap4plus/scripts/abefw-omap4plus-hook
2 ===================================================================
3 --- /dev/null   1970-01-01 00:00:00.000000000 +0000
4 +++ abefw-omap4plus/scripts/abefw-omap4plus-hook        2013-03-25 15:54:46.358587431 +0100
5 @@ -0,0 +1,41 @@
6 +#!/bin/sh
7 +
8 +PREREQ=
9 +
10 +prereqs()
11 +{
12 +        echo "$PREREQ"
13 +}
14 +
15 +case $1 in
16 +# get pre-requisites
17 +prereqs)
18 +        prereqs
19 +        exit 0
20 +        ;;
21 +esac
22 +
23 +. /usr/share/initramfs-tools/hook-functions
24 +
25 +copy_exec /lib/firmware/omap4_abe_new
26 +#!/bin/sh
27 +
28 +PREREQ=
29 +
30 +prereqs()
31 +{
32 +        echo "$PREREQ"
33 +}
34 +
35 +case $1 in
36 +# get pre-requisites
37 +prereqs)
38 +        prereqs
39 +        exit 0
40 +        ;;
41 +esac
42 +
43 +. /usr/share/initramfs-tools/hook-functions
44 +
45 +copy_exec /lib/firmware/omap4_abe_new
46 +