mdadm: Indicate using bincache
authorSebastian Pipping <sebastian@pipping.org>
Sun, 23 Jan 2011 19:17:42 +0000 (20:17 +0100)
committerSebastian Pipping <sebastian@pipping.org>
Sun, 23 Jan 2011 19:17:42 +0000 (20:17 +0100)
gen_compile.sh

index 2de867ff71cfb3f965cc130d045c60e50cc92cc4..49caf91330053c894a59362e40150c00ef7b398b 100755 (executable)
@@ -458,8 +458,10 @@ compile_lvm() {
 }
 
 compile_mdadm() {
-       if [ -f "${MDADM_BINCACHE}" ]
+       if [ -f "${MDADM_BINCACHE}" ]
        then
+               print_info 1 '          MDADM: Using cache'
+       else
                [ -f "${MDADM_SRCTAR}" ] ||
                        gen_die "Could not find MDADM source tarball: ${MDADM_SRCTAR}! Please place it there, or place another version, changing /etc/genkernel.conf as necessary!"
                cd "${TEMP}"