diff options
author | Harald Hoyer <harald@redhat.com> | 2009-09-15 09:00:13 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2009-09-15 15:00:18 +0200 |
commit | 2f02ae9d45b263eecf4348986a8e67057dbad126 (patch) | |
tree | 0a71665cd7a5e416b436694036742d8b40e561c4 /test/TEST-14-IMSM | |
parent | 11fcc8c8f941edb438ad48ef7deb6cbf8d87d530 (diff) | |
download | dracut-2f02ae9d45b263eecf4348986a8e67057dbad126.tar.gz dracut-2f02ae9d45b263eecf4348986a8e67057dbad126.tar.bz2 dracut-2f02ae9d45b263eecf4348986a8e67057dbad126.zip |
mdraid: add rd_NO_MDADMCONF --mdadmconf --nomdadmconf
Copy /etc/mdadm.conf to initramfs (even for non-hostonly) if
mdadmconf="yes" is set in dracut.conf or --mdadmconf is specified on the
dracut command line.
This was done, because there seems _no_ sane way to autoassemble md raid
arrays.
also moved rd_NO_MD to an udev ENV
Diffstat (limited to 'test/TEST-14-IMSM')
-rwxr-xr-x | test/TEST-14-IMSM/test.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/TEST-14-IMSM/test.sh b/test/TEST-14-IMSM/test.sh index 73aaca34..00593c91 100755 --- a/test/TEST-14-IMSM/test.sh +++ b/test/TEST-14-IMSM/test.sh @@ -26,11 +26,10 @@ test_run() { client_run || return 1 client_run rd_NO_MDIMSM || return 1 client_run rd_NO_DM || return 1 - client_run rd_NO_MD rd_NO_MDIMSM && return 1 -# FIXME: -# client_run rd_NO_DM rd_NO_MDIMSM && return 1 -# client_run rd_NO_MD && return 1 - return 0 + client_run rd_NO_DM rd_NO_MDIMSM rd_NO_MDADMCONF || return 1 + client_run rd_NO_MD rd_NO_MDIMSM && return 1 + client_run rd_NO_MD && return 1 + return 0 } test_setup() { |