Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 61827 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/share/genkernel/gen_initrd.sh.orig (+19 lines)
Lines 105-110 Link Here
105
#	else
105
#	else
106
#		print_warning 1 "initrd: No LVM2 static binaries found; skipping support..."
106
#		print_warning 1 "initrd: No LVM2 static binaries found; skipping support..."
107
	fi
107
	fi
108
	
109
	#EVMS2
110
		if [ -e '/sbin/evms_activate' ]
111
		then
112
			#if [ "${CMD_NOEVMS}" -ne '1' ]
113
			#then
114
				mkdir -p ${TEMP}/initrd-temp/lib
115
				cp -a /lib/ld-* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!'
116
				cp -a /lib/libc-* /lib/libc.* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!'
117
				cp -a /lib/libdl-* /lib/libdl.* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!'
118
				cp -a /lib/libpthread* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!'
119
				cp -a /lib/libuuid*so* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!'
120
				cp -a /lib/libevms*so* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!'
121
				cp -a /lib/evms "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!'
122
				cp -a /lib/evms/* "${TEMP}/initrd-temp/lib/evms" || gen_die 'Could not copy files for EVMS2!'
123
				cp -a /etc/evms.conf "${TEMP}/initrd-temp/etc" || gen_die 'Could not copy files for EVMS2!'
124
				cp /sbin/evms_activate "${TEMP}/initrd-temp/bin/evms_activate" || gen_die 'Could not copy over vgscan!'
125
			#fi
126
		fi	
108
127
109
	for i in '[' ash basename cat chroot clear cp dirname echo env false find \
128
	for i in '[' ash basename cat chroot clear cp dirname echo env false find \
110
	grep gunzip gzip ln ls loadkmap losetup lsmod mkdir mknod more mount mv \
129
	grep gunzip gzip ln ls loadkmap losetup lsmod mkdir mknod more mount mv \
(-)/usr/share/genkernel/generic/initrd.defaults.orig (-2 / +2 lines)
Lines 17-24 Link Here
17
# Only sections that are in by default or those that
17
# Only sections that are in by default or those that
18
# are not module groups need to be defined here...
18
# are not module groups need to be defined here...
19
19
20
HWOPTS='usb firewire keymap cache lvm2'
20
HWOPTS='usb firewire keymap cache lvm2 evms2'
21
MY_HWOPTS='usb firewire lvm2'
21
MY_HWOPTS='usb firewire lvm2 evms2'
22
22
23
QUIET=1
23
QUIET=1
24
ROOT_LINKS='bin sbin lib lib64 boot usr opt'
24
ROOT_LINKS='bin sbin lib lib64 boot usr opt'
(-)/usr/share/genkernel/generic/linuxrc.orig (+11 lines)
Lines 232-237 Link Here
232
	fi
232
	fi
233
fi
233
fi
234
234
235
236
if [ "${DO_evms2}" ]
237
then
238
       if [ -e '/sbin/evms_activate' ]
239
       then
240
               echo -e "${GOOD}>>${NORMAL}${BOLD} Activating EVMS...${NORMAL}"
241
               evms_activate
242
       fi
243
fi
244
245
235
echo -e "${GOOD}>>${NORMAL}${BOLD} Determining root device...${NORMAL}"
246
echo -e "${GOOD}>>${NORMAL}${BOLD} Determining root device...${NORMAL}"
236
247
237
while true
248
while true

Return to bug 61827