Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 38248 Details for
Bug 61827
EVMS2 genkernel
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
genkernel.diff
genkernel.diff (text/plain), 3.29 KB, created by
Douglas Hammond
on 2004-08-26 09:37:25 UTC
(
hide
)
Description:
genkernel.diff
Filename:
MIME Type:
Creator:
Douglas Hammond
Created:
2004-08-26 09:37:25 UTC
Size:
3.29 KB
patch
obsolete
>diff -r -u /usr/share/genkernel/gen_initrd.sh ./gen_initrd.sh >--- /usr/share/genkernel/gen_initrd.sh 2004-08-26 11:11:43.000000000 -0500 >+++ ./gen_initrd.sh 2004-08-26 11:00:36.000000000 -0500 >@@ -85,6 +85,26 @@ > # print_warning 1 "initrd: No LVM2 static binaries found; skipping support..." > fi > >+ # EVMS2 >+ if [ -e '/sbin/evms_activate' ] >+ then >+# if [ "${CMD_NOEVMS}" -ne '1' ] >+# then >+ mkdir -p ${TEMP}/initrd-temp/lib >+ cp -a /lib/ld-* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!' >+ cp -a /lib/libc-* /lib/libc.* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!' >+ cp -a /lib/libdl-* /lib/libdl.* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!' >+ cp -a /lib/libpthread* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!' >+ cp -a /lib/libuuid*so* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!' >+ cp -a /lib/libevms*so* "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!' >+ cp -a /lib/evms "${TEMP}/initrd-temp/lib" || gen_die 'Could not copy files for EVMS2!' >+ cp -a /lib/evms/* "${TEMP}/initrd-temp/lib/evms" || gen_die 'Could not copy files for EVMS2!' >+ cp -a /etc/evms.conf "${TEMP}/initrd-temp/etc" || gen_die 'Could not copy files for EVMS2!' >+ cp /sbin/evms_activate "${TEMP}/initrd-temp/bin/evms_activate" || gen_die 'Could not copy over vgscan!' >+# fi >+ fi >+ >+ > for i in '[' ash basename cat chroot clear cp dirname echo env false find \ > grep gunzip gzip ln ls loadkmap losetup lsmod mkdir mknod more mount mv \ > pivot_root ps awk pwd rm rmdir rmmod sed sh sleep tar test touch true umount uname \ >diff -r -u /usr/share/genkernel/generic/initrd.defaults ./generic/initrd.defaults >--- /usr/share/genkernel/generic/initrd.defaults 2004-08-26 11:11:43.000000000 -0500 >+++ ./generic/initrd.defaults 2004-08-26 10:56:56.000000000 -0500 >@@ -17,8 +17,8 @@ > # Only sections that are in by default or those that > # are not module groups need to be defined here... > >-HWOPTS="usb firewire keymap cache lvm2" >-MY_HWOPTS="usb firewire lvm2" >+HWOPTS="usb firewire keymap cache lvm2 evms2" >+MY_HWOPTS="usb firewire lvm2 evms2" > > QUIET=1 > ROOT_LINKS='bin sbin lib lib64 boot usr opt' >diff -r -u /usr/share/genkernel/generic/linuxrc ./generic/linuxrc >--- /usr/share/genkernel/generic/linuxrc 2004-08-26 11:11:43.000000000 -0500 >+++ ./generic/linuxrc 2004-08-26 10:58:52.000000000 -0500 >@@ -104,8 +104,10 @@ > chooseKeymap > fi > >+ > echo -e "${GOOD}>>${NORMAL}${BOLD} Mounting filesystems...${NORMAL}" > >+ > mkdir /newroot > if [ "${CDROOT}" -eq '1' ] > then >@@ -157,6 +159,17 @@ > fi > fi > >+ >+if [ "${DO_evms2}" ] >+then >+ if [ -e '/sbin/evms_activate' ] >+ then >+ echo -e "${GOOD}>>${NORMAL}${BOLD} Activating EVMS...${NORMAL}" >+ evms_activate >+ fi >+fi >+ >+ > echo -e "${GOOD}>>${NORMAL}${BOLD} Determining root device...${NORMAL}" > > while true
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 61827
: 38248 |
43157