Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 82798 Details for
Bug 122421
genkernel initrd luks support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
md fix
122421-fix-md.patch (text/plain), 947 bytes, created by
Tim Yamin (RETIRED)
on 2006-03-21 11:17:49 UTC
(
hide
)
Description:
md fix
Filename:
MIME Type:
Creator:
Tim Yamin (RETIRED)
Created:
2006-03-21 11:17:49 UTC
Size:
947 bytes
patch
obsolete
>Index: initrd.scripts >=================================================================== >RCS file: /var/cvsroot/gentoo/src/genkernel_bradmssw/generic/initrd.scripts,v >retrieving revision 1.41 >diff -u -r1.41 initrd.scripts >--- initrd.scripts 4 Nov 2005 21:54:19 -0000 1.41 >+++ initrd.scripts 21 Mar 2006 19:16:57 -0000 >@@ -533,10 +533,10 @@ > [ -z "$1" ] && device="${REAL_ROOT}" || device="$1" > [ -z "${device}" ] && return # LiveCD > >- if [ `echo ${device}|sed -e 's#\(/dev/md\)[[:digit:]]\+#\1#'` = "/dev/md" ] >+ if [ `echo ${device}|sed -e 's#\(luks:\)\?\(/dev/md\)[[:digit:]]\+#\2#'` = "/dev/md" ] > then > good_msg 'Detected real_root as a md device. Setting up the device node...' >- MD_NUMBER=`echo ${device}|sed -e 's#/dev/md\([[:digit:]]\+\)#\1#'` >+ MD_NUMBER=`echo ${device}|sed -e 's#\(luks:\)\?/dev/md\([[:digit:]]\+\)#\2#'` > if [ ! -e /dev/md${MD_NUMBER} ] > then > mknod /dev/md${MD_NUMBER} b 9 ${MD_NUMBER} >/dev/null 2>&1
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 122421
:
79476
|
79580
|
79704
| 82798