--- /home/sping/Desktop/v2.patch 2011-01-13 00:46:26.623197222 +0100 +++ /home/sping/Desktop/v3.patch 2011-01-13 00:46:34.433147761 +0100 @@ -42,7 +42,7 @@ index 7bab9e1..ec5df4b 100755 --- a/gen_compile.sh +++ b/gen_compile.sh -@@ -444,6 +444,41 @@ compile_lvm() { +@@ -444,6 +444,42 @@ compile_lvm() { fi } @@ -65,15 +65,16 @@ + sed -i "s/^# LDFLAGS = -static/LDFLAGS = -static/" Makefile + + print_info 1 'mdadm: >> Compiling...' -+ compile_generic 'mdadm' utils ++ compile_generic 'mdadm mdmon' utils + + mkdir -p "${TEMP}/mdadm/sbin" + install -m 0755 -s mdadm "${TEMP}/mdadm/sbin/mdadm" ++ install -m 0755 -s mdmon "${TEMP}/mdadm/sbin/mdmon" + print_info 1 ' >> Copying to bincache...' + cd "${TEMP}/mdadm" -+ strip "sbin/mdadm" || -+ gen_die 'Could not strip mdadm!' -+ /bin/tar -cjf "${MDADM_BINCACHE}" sbin/mdadm || ++ strip "sbin/mdadm" "sbin/mdmon" || ++ gen_die 'Could not strip mdadm binaries!' ++ /bin/tar -cjf "${MDADM_BINCACHE}" sbin/mdadm sbin/mdmon || + gen_die 'Could not create binary cache' + + cd "${TEMP}"