commit:     de034a52625200a6ef0286540435f6c4bf55230c
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 18 21:28:21 2017 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sat Nov 18 21:28:21 2017 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=de034a52

gen_cmdline: make --mdadm local binary requirement less strict

Closes: https://bugs.gentoo.org/630314
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 gen_cmdline.sh | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/gen_cmdline.sh b/gen_cmdline.sh
index 0ca0f8d..3d9611f 100755
--- a/gen_cmdline.sh
+++ b/gen_cmdline.sh
@@ -318,9 +318,7 @@ parse_cmdline() {
                        print_info 2 "CMD_MDADM: $CMD_MDADM"
                        if [ "$CMD_MDADM" = "1" -a ! -e /sbin/mdadm ]
                        then
-                               echo 'Error: --multipath requires sys-fs/mdadm'
-                               echo '           to be installed on the host 
system.'
-                               exit 1
+                               print_warning 'Warning: --mdadm generally 
requires sys-fs/mdadm present on the host system'
                        fi
                        ;;
                --mdadm-config=*)

Reply via email to