Add patch for turning off LVM and EVMS2 optionally at boot time even if compiled into initrd; bug #79755.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@164 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Tim Yamin 20 years ago
parent 7aaff40317
commit 8e6b0de648

@ -8,6 +8,8 @@
USE_DEVFS_NORMAL=1
USE_UDEV_NORMAL=2
USE_EVMS_NORMAL=1
USE_LVM2_NORMAL=1
if [ "$$" != '1' ]
then
@ -46,6 +48,12 @@ do
nodevfs)
USE_DEVFS_NORMAL=0
;;
nolvm2)
USE_LVM2_NORMAL=0
;;
noevms)
USE_EVMS_NORMAL=0
;;
udev)
USE_UDEV_NORMAL=1
USE_DEVFS_NORMAL=0
@ -246,7 +254,7 @@ then
devfsd /dev -np
fi
if [ "${DO_lvm2}" ]
if [ "${DO_lvm2}" -a "{USE_LVM2_NORMAL}" -eq '1' ]
then
if [ -e '/sbin/vgscan' -a -e '/sbin/vgchange' ]
then
@ -257,7 +265,7 @@ then
fi
fi
if [ "${DO_evms2}" ]
if [ "${DO_evms2}" -a "{USE_LVM2_NORMAL}" -eq '1' ]
then
if [ -e '/sbin/evms_activate' ]
then

@ -1,7 +1,7 @@
#!/bin/bash
# Genkernel v3
GK_V='3.1.0e'
GK_V='3.1.0f'
TEMP='/var/tmp/genkernel'
TODEBUGCACHE=1 # Until an error occurs or DEBUGFILE is fully qualified.

Loading…
Cancel
Save