From: Laurent Pinchart Date: Fri, 27 Aug 2010 15:26:52 +0000 (+0200) Subject: mdadm: Add IMSM support X-Git-Tag: v3.4.12~1^2~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6c042e61ec1dd05b59651902af3b24e0862bff54;p=genkernel.git mdadm: Add IMSM support --- diff --git a/gen_compile.sh b/gen_compile.sh index 1c3bf97..bccbcdc 100755 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -476,15 +476,16 @@ compile_mdadm() { 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}"