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 (+20 lines)
Lines 85-90 Link Here
85
#              print_warning 1 "initrd: No LVM2 static binaries found; skipping support..."
85
#              print_warning 1 "initrd: No LVM2 static binaries found; skipping support..."
86
       fi
86
       fi
87
       # EVMS2
88
       if [ -e '/sbin/evms_activate' ]
89
       then
90
#              if [ "${CMD_NOEVMS}" -ne '1' ]
91
#              then
92
                       mkdir -p ${TEMP}/initrd-temp/lib
93
                       cp -a /lib/ld-* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!'
94
                       cp -a /lib/libc-* /lib/libc.* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!'
95
                       cp -a /lib/libdl-* /lib/libdl.* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!'
96
                       cp -a /lib/libpthread* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!'
97
                       cp -a /lib/libuuid*so* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!'
98
                       cp -a /lib/libevms*so* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!'
99
                       cp -a /lib/evms "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!'
100
                       cp -a /lib/evms/* "${TEMP}/initrd-temp/lib/evms" || gen_die 'Could not copy files for EVMS2!'
101
                       cp -a /etc/evms.conf "${TEMP}/initrd-temp/etc" || gen_die 'Could not copy files for EVMS2!'
102
                       cp /sbin/evms_activate "${TEMP}/initrd-temp/bin/evms_activate" || gen_die 'Could not copy over vgscan!'
103
#              fi
104
       fi
105
106
87
       for i in '[' ash basename cat chroot clear cp dirname echo env false find \
107
       for i in '[' ash basename cat chroot clear cp dirname echo env false find \
88
       grep gunzip gzip ln ls loadkmap losetup lsmod mkdir mknod more mount mv \
108
       grep gunzip gzip ln ls loadkmap losetup lsmod mkdir mknod more mount mv \
89
       pivot_root ps awk pwd rm rmdir rmmod sed sh sleep tar test touch true umount uname \
109
       pivot_root ps awk pwd rm rmdir rmmod sed sh sleep tar test touch true umount uname \
(-)/usr/share/genkernel/generic/initrd.defaults (-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
HWOPTS="usb firewire keymap cache lvm2"
19
HWOPTS="usb firewire keymap cache lvm2 evms2"
20
MY_HWOPTS="usb firewire lvm2"
20
MY_HWOPTS="usb firewire lvm2 evms2"
21
QUIET=1
21
QUIET=1
22
ROOT_LINKS='bin sbin lib lib64 boot usr opt'
22
ROOT_LINKS='bin sbin lib lib64 boot usr opt'
(-)/usr/share/genkernel/generic/linuxrc (+13 lines)
Lines 104-111 Link Here
104
       chooseKeymap
104
       chooseKeymap
105
fi
105
fi
106
106
echo -e "${GOOD}>>${NORMAL}${BOLD} Mounting filesystems...${NORMAL}"
107
echo -e "${GOOD}>>${NORMAL}${BOLD} Mounting filesystems...${NORMAL}"
108
107
mkdir /newroot
109
mkdir /newroot
108
if [ "${CDROOT}" -eq '1' ]
110
if [ "${CDROOT}" -eq '1' ]
109
then
111
then
Lines 157-162 Link Here
157
       fi
159
       fi
158
fi
160
fi
161
162
if [ "${DO_evms2}" ]
163
then
164
       if [ -e '/sbin/evms_activate' ]
165
       then
166
               echo -e "${GOOD}>>${NORMAL}${BOLD} Activating EVMS...${NORMAL}"
167
               evms_activate
168
       fi
169
fi
170
171
159
echo -e "${GOOD}>>${NORMAL}${BOLD} Determining root device...${NORMAL}"
172
echo -e "${GOOD}>>${NORMAL}${BOLD} Determining root device...${NORMAL}"
160
while true
173
while true

Return to bug 61827