aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-11-18 13:28:21 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2017-11-18 13:28:21 -0800
commitde034a52625200a6ef0286540435f6c4bf55230c (patch)
treeefbd25c0ac5287256fcf4d953fdbfde22ab4a170 /gen_cmdline.sh
parentgen_cmdline: bzImage target should not create initramfs. (diff)
downloadgenkernel-de034a52625200a6ef0286540435f6c4bf55230c.tar.gz
genkernel-de034a52625200a6ef0286540435f6c4bf55230c.tar.bz2
genkernel-de034a52625200a6ef0286540435f6c4bf55230c.zip
gen_cmdline: make --mdadm local binary requirement less strict
Closes: https://bugs.gentoo.org/630314 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'gen_cmdline.sh')
-rwxr-xr-xgen_cmdline.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/gen_cmdline.sh b/gen_cmdline.sh
index 0ca0f8de..3d9611fd 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=*)