Change all EVMS/evms to EVMS2/evms2 for consitency. Also, enabled dodmraid by default.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@231 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Chris Gianelloni 20 years ago
parent 36bb84c532
commit 1cce348bdb

@ -78,4 +78,4 @@ NEW_ROOT="/newroot"
# Only sections that are in by default or those that # Only sections that are in by default or those that
# are not module groups need to be defined here... # are not module groups need to be defined here...
HWOPTS='usb firewire keymap cache evms2 sata lvm2 dmraid' HWOPTS='usb firewire keymap cache evms2 sata lvm2 dmraid'
MY_HWOPTS='usb firewire sata' MY_HWOPTS='usb firewire sata dmraid'

@ -427,12 +427,12 @@ startVolumes() {
/bin/vgchange -ay --ignorelockingfailure /bin/vgchange -ay --ignorelockingfailure
# Disable EVMS since lvm2 is activated and they dont work together. # Disable EVMS since lvm2 is activated and they dont work together.
if [ "${USE_EVMS_NORMAL}" -eq '1' ] if [ "${USE_EVMS2_NORMAL}" -eq '1' ]
then then
bad_msg "Disabling EVMS Support because LVM2 started" bad_msg "Disabling EVMS Support because LVM2 started"
bad_msg "Do not add dolvm2 to the cmdline if this is not what you want" bad_msg "Do not add dolvm2 to the cmdline if this is not what you want"
bad_msg "LVM2 and EVMS do not work well together" bad_msg "LVM2 and EVMS do not work well together"
USE_EVMS_NORMAL=0 USE_EVMS2_NORMAL=0
fi fi
else else
@ -441,7 +441,7 @@ startVolumes() {
fi fi
if [ "${USE_EVMS_NORMAL}" -eq '1' ] if [ "${USE_EVMS2_NORMAL}" -eq '1' ]
then then
if [ -e '/sbin/evms_activate' ] if [ -e '/sbin/evms_activate' ]
then then

@ -111,8 +111,8 @@ do
DMRAID_OPTS=`parse_opt "${x}"` DMRAID_OPTS=`parse_opt "${x}"`
USE_DMRAID_NORMAL=1 USE_DMRAID_NORMAL=1
;; ;;
doevms) doevms2)
USE_EVMS_NORMAL=1 USE_EVMS2_NORMAL=1
;; ;;
# Start Debug Option # Start Debug Option
debug) debug)

Loading…
Cancel
Save