Added config defaulting for --mdadm for bug #198694. Thanks to John R. Graham <john_...
authorChris Gianelloni <wolf31o2@gentoo.org>
Tue, 13 Nov 2007 23:05:27 +0000 (23:05 +0000)
committerChris Gianelloni <wolf31o2@gentoo.org>
Tue, 13 Nov 2007 23:05:27 +0000 (23:05 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@559 67a159dc-881f-0410-a524-ba9dfbe2cb84

ChangeLog
gen_determineargs.sh
genkernel.conf

index 77bddd2094144c37b1bf948251c035aaa9c935d7..af15cc650e9b82e2d82c5b937b052fc213a08bcc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,8 +2,14 @@
 # Copyright 2006-2007 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  13 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org> gen_determineargs.sh,
+  genkernel.conf:
+  Added config defaulting for --mdadm for bug #198694. Thanks to John R.
+  Graham <john_r_graham@mindspring.com> for providing the patch. This is
+  3.4.9_pre9 for testing.
+
   08 Nov 2007; Andrew Gaffney <agaffney@gentoo.org> gen_arch.sh:
-  revert patch from bug 190327
+  Revert patch from bug 190327 as it breaks well more than it fixed.
 
   07 Nov 2007; Chris Gianelloni <wolf31o2@gentoo.org> alpha/config.sh,
   gen_cmdline.sh, gen_determineargs.sh, gen_funcs.sh, gen_initramfs.sh,
index 316046210ff03992e94da911e6db1d92e976323d..69df5eeae1a246a2c15707a924678742df9c3183 100644 (file)
@@ -116,6 +116,7 @@ determine_real_args() {
        
        set_config_with_override 1 DISKLABEL            CMD_DISKLABEL
        set_config_with_override 1 LUKS                 CMD_LUKS
+       set_config_with_override 1 MDADM                CMD_MDADM
 
                BOOTDIR=`arch_replace "${BOOTDIR}"`
                BOOTDIR=${BOOTDIR%/}    # Remove any trailing slash
@@ -203,13 +204,6 @@ determine_real_args() {
                mkdir -p `dirname ${KERNCACHE}`
        fi
        
-       if isTrue "${CMD_MDADM}"
-       then
-               MDADM=1
-       else
-               MDADM=0
-       fi
-
        get_KV
        UNIONFS_MODULES_BINCACHE=`kv_replace "${UNIONFS_MODULES_BINCACHE}"`
 }
index b405b6a842100193e61dc9ae6263c413f8033403..4807362c8dc9c3b5a7898ac80754be88b07265f3 100755 (executable)
@@ -69,9 +69,13 @@ USECOLOR="yes"
 # DMRAID="no"
 
 # Include (or suppresses the inclusion of) busybox in the initrd or initramfs.
-# If included, busybox is rebuilt if the cached copy is out of date,
+# If included, busybox is rebuilt if the cached copy is out of date.
 # BUSYBOX="yes"
 
+# Copy /etc/mdadm.conf to initramfs.
+# MDADM="no"
+
+
 # =========Low Level Compile Settings=========
 #
 # GNU Make to use for kernel.  See also the --kernel-make command line option.