Add --evms2 patch by Eric Edgar; bug #77385.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/genkernel/trunk@158 67a159dc-881f-0410-a524-ba9dfbe2cb84
cleanup-cruft
Tim Yamin 20 years ago
parent 5df2655401
commit e27358d67e

@ -63,6 +63,8 @@ longusage() {
echo " --bootsplash=<theme> Force bootsplash using <theme>" echo " --bootsplash=<theme> Force bootsplash using <theme>"
echo " --gensplash=<theme> Force gensplash using <theme>" echo " --gensplash=<theme> Force gensplash using <theme>"
echo " --do-keymap-auto Forces keymap selection at boot" echo " --do-keymap-auto Forces keymap selection at boot"
echo " --evms2 Include EVMS2 support"
echo " --> 'emerge evms' in the host operating system first"
echo " --lvm2 Include LVM2 support" echo " --lvm2 Include LVM2 support"
echo " --bootloader=grub Add new kernel to GRUB configuration" echo " --bootloader=grub Add new kernel to GRUB configuration"
echo " --linuxrc=<file> Specifies a user created linuxrc" echo " --linuxrc=<file> Specifies a user created linuxrc"
@ -149,9 +151,9 @@ parse_cmdline() {
CMD_DOKEYMAPAUTO=1 CMD_DOKEYMAPAUTO=1
print_info 2 "CMD_DOKEYMAPAUTO: $CMD_DOKEYMAPAUTO" print_info 2 "CMD_DOKEYMAPAUTO: $CMD_DOKEYMAPAUTO"
;; ;;
--no-evms2) --evms2)
CMD_NOEVMS2=1 CMD_EVMS2=1
print_info 2 'CMD_NOEVMS2: 1' print_info 2 'CMD_EVMS2: 1'
;; ;;
--lvm2) --lvm2)
CMD_LVM2=1 CMD_LVM2=1

@ -128,9 +128,9 @@ create_base_initrd_sys() {
fi fi
# EVMS2 # EVMS2
if [ -e '/sbin/evms_activate' ] if [ "${CMD_EVMS2}" -eq '1' ]
then then
if [ "${CMD_NOEVMS2}" != '1' ] if [ -e '/sbin/evms_activate' ]
then then
print_info 1 'EVMS2: Adding support...' print_info 1 'EVMS2: Adding support...'
mkdir -p ${TEMP}/initrd-temp/lib mkdir -p ${TEMP}/initrd-temp/lib

Loading…
Cancel
Save