aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2005-02-17 01:46:47 +0000
committerTim Yamin <plasmaroo@gentoo.org>2005-02-17 01:46:47 +0000
commit405c8a110030309d28b5bdc2c118595614eac155 (patch)
treee29117e5cbe495dcb8a83dd343f2567a92360386 /gen_determineargs.sh
parentFix #77259. (diff)
downloadgenkernel-405c8a110030309d28b5bdc2c118595614eac155.tar.gz
genkernel-405c8a110030309d28b5bdc2c118595614eac155.tar.bz2
genkernel-405c8a110030309d28b5bdc2c118595614eac155.zip
Add DMRAID support (thanks rocket!); fix AMD64 udev issues (#65985).
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@168 67a159dc-881f-0410-a524-ba9dfbe2cb84
Diffstat (limited to 'gen_determineargs.sh')
-rw-r--r--gen_determineargs.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/gen_determineargs.sh b/gen_determineargs.sh
index 0d0463e..6ea48ad 100644
--- a/gen_determineargs.sh
+++ b/gen_determineargs.sh
@@ -94,6 +94,7 @@ determine_real_args() {
UDEV_BINCACHE=`cache_replace "${UDEV_BINCACHE}"`
DEVICE_MAPPER_BINCACHE=`cache_replace "${DEVICE_MAPPER_BINCACHE}"`
LVM2_BINCACHE=`cache_replace "${LVM2_BINCACHE}"`
+ DMRAID_BINCACHE=`cache_replace "${DMRAID_BINCACHE}"`
DEFAULT_KERNEL_CONFIG=`arch_replace "${DEFAULT_KERNEL_CONFIG}"`
BUSYBOX_CONFIG=`arch_replace "${BUSYBOX_CONFIG}"`
@@ -107,6 +108,7 @@ determine_real_args() {
UDEV_BINCACHE=`arch_replace "${UDEV_BINCACHE}"`
DEVICE_MAPPER_BINCACHE=`arch_replace "${DEVICE_MAPPER_BINCACHE}"`
LVM2_BINCACHE=`arch_replace "${LVM2_BINCACHE}"`
+ DMRAID_BINCACHE=`arch_replace "${DMRAID_BINCACHE}"`
if [ "${CMD_BOOTSPLASH}" != '' ]
then
@@ -222,4 +224,11 @@ determine_real_args() {
else
LVM2=0
fi
+
+ if isTrue "${CMD_DMRAID}"
+ then
+ DMRAID=1
+ else
+ DMRAID=0
+ fi
}