diff options
author | 2019-07-14 11:25:09 +0200 | |
---|---|---|
committer | 2019-07-14 13:58:15 +0200 | |
commit | 179e5b5c4e6b9869d5a0f0dab21b875ab3a5a0f3 (patch) | |
tree | 4aa22966273125d4d8d0f3e38553b3fd9c032299 /gen_cmdline.sh | |
parent | gen_initramfs.sh: Refactor append_devices() (diff) | |
download | genkernel-179e5b5c4e6b9869d5a0f0dab21b875ab3a5a0f3.tar.gz genkernel-179e5b5c4e6b9869d5a0f0dab21b875ab3a5a0f3.tar.bz2 genkernel-179e5b5c4e6b9869d5a0f0dab21b875ab3a5a0f3.zip |
Rework --dmraid support
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'gen_cmdline.sh')
-rwxr-xr-x | gen_cmdline.sh | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/gen_cmdline.sh b/gen_cmdline.sh index 0a1b1c8..5a1b481 100755 --- a/gen_cmdline.sh +++ b/gen_cmdline.sh @@ -379,18 +379,6 @@ parse_cmdline() { ;; --dmraid|--no-dmraid) CMD_DMRAID=$(parse_optbool "$*") - if isTrue "${CMD_DMRAID}" && [ ! -e /usr/sbin/dmraid ] - then - echo 'Error: --dmraid requires sys-fs/dmraid' \ - 'to be installed on the host system.' - exit 1 - fi - if isTrue "${CMD_DMRAID}" && [ ! -e /usr/include/libdevmapper.h ] - then - echo 'Error: --dmraid requires sys-fs/lvm2' \ - 'to be installed on the host system.' - exit 1 - fi print_info 2 "CMD_DMRAID: ${CMD_DMRAID}" ;; --e2fsprogs|--no-e2fsprogs) |