aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-10-13 23:23:15 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2012-10-13 23:24:38 +0000
commite6de60283bbe7b9aa9a7934609a183893ce543a1 (patch)
treecda292457fb8bb9bb701e6f0115e596bd71dd94e /gen_configkernel.sh
parentBug #351873: More livecd control, and initramfs livecd argument documentation. (diff)
downloadgenkernel-e6de60283bbe7b9aa9a7934609a183893ce543a1.tar.gz
genkernel-e6de60283bbe7b9aa9a7934609a183893ce543a1.tar.bz2
genkernel-e6de60283bbe7b9aa9a7934609a183893ce543a1.zip
Bug #286187: Complete multipath support.
Somewhere in the mists of time we lost part of the multipath patch, so we were bundling the userspace, but not the kernel modules, or ever using it. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'gen_configkernel.sh')
-rwxr-xr-xgen_configkernel.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/gen_configkernel.sh b/gen_configkernel.sh
index 6271ca03..b546db10 100755
--- a/gen_configkernel.sh
+++ b/gen_configkernel.sh
@@ -117,6 +117,14 @@ config_kernel() {
sed -i ${KERNEL_OUTPUTDIR}/.config -e 's/#\? \?CONFIG_DM_MIRROR is.*/CONFIG_DM_MIRROR=m/g'
fi
+ # Multipath
+ if isTrue ${CMD_MULTIPATH}
+ then
+ sed -i ${KERNEL_DIR}/.config -e 's/#\? \?CONFIG_BLK_DEV_DM is.*/CONFIG_BLK_DEV_DM=m/g'
+ sed -i ${KERNEL_DIR}/.config -e 's/#\? \?CONFIG_DM_MULTIPATH is.*/CONFIG_DM_MULTIPATH=m/g'
+ sed -i ${KERNEL_DIR}/.config -e 's/#\? \?CONFIG_DM_MULTIPATH_RDAC is.*/CONFIG_DM_MULTIPATH_RDAC=m/g'
+ fi
+
# Make sure dmraid modules are on if --dmraid
if isTrue ${CMD_DMRAID}
then