Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 282457 Details for
Bug 378105
sys-kernel/genkernel: UUID/Label support for root_keydev and swap_keydev
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
initrd.scripts.diff
initrd.scripts.diff (text/plain), 1.03 KB, created by
Marc Perrudin
on 2011-08-07 17:27:19 UTC
(
hide
)
Description:
initrd.scripts.diff
Filename:
MIME Type:
Creator:
Marc Perrudin
Created:
2011-08-07 17:27:19 UTC
Size:
1.03 KB
patch
obsolete
>--- initrd.scripts 2011-08-07 16:39:35.000000000 +0200 >+++ initrd.scripts.new 2011-08-07 18:03:42.000000000 +0200 >@@ -804,6 +804,33 @@ > then > if [ ! -e "${mntkey}${LUKS_KEY}" ] > then >+ case "${LUKS_KEYDEV}" in >+ UUID\=*|LABEL\=*) >+ local REAL_KEYDEV="" >+ local retval=1 >+ >+ if [ "${retval}" -ne 0 ]; then >+ REAL_KEYDEV=`findfs "${LUKS_KEYDEV}" 2>/dev/null` >+ retval=$? >+ fi >+ >+ if [ "$retval" -ne 0 ]; then >+ REAL_KEYDEV=`busybox findfs "${LUKS_KEYDEV}" 2>/dev/null` >+ retval=$? >+ fi >+ >+ if [ "${retval}" -ne 0 ]; then >+ REAL_KEYDEV=`blkid -l -t "${LUKS_KEYDEV}" | cut -d ":" -f 1 2>/dev/null` >+ retval=$? >+ fi >+ >+ if [ "${retval}" -eq 0 ] && [ -n "${REAL_KEYDEV}" ]; then >+ good_msg "Detected device ${REAL_KEYDEV}" >+ LUKS_KEYDEV="${REAL_KEYDEV}" >+ fi >+ ;; >+ esac >+ > if [ -b "${LUKS_KEYDEV}" ] > then good_msg "Using key device ${LUKS_KEYDEV}." ${CRYPT_SILENT} > else
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 378105
: 282457 |
282473
|
325994