Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 374206 Details for
Bug 463008
sys-kernel/genkernel-3.4.45: doesn't recognize dmraid with GPT partition
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix booting from a GPT partition on a dmraid
genkernel.patch (text/plain), 945 bytes, created by
Markus Lidel
on 2014-04-03 22:04:34 UTC
(
hide
)
Description:
Patch to fix booting from a GPT partition on a dmraid
Filename:
MIME Type:
Creator:
Markus Lidel
Created:
2014-04-03 22:04:34 UTC
Size:
945 bytes
patch
obsolete
>--- /usr/share/genkernel/defaults/initrd.scripts 2013-03-24 04:51:37.425040672 +0100 >+++ /usr/share/genkernel/defaults/initrd.scripts 2013-03-24 04:51:37.425040672 +0100 >@@ -667,6 +667,10 @@ > else > /sbin/dmraid -ay ${DMRAID_OPTS} > fi >+ if [ -e '/sbin/kpartx' ] >+ then >+ /sbin/dmsetup ls --exec "/sbin/kpartx -a -s" >+ fi > fi > fi > >--- /usr/share/genkernel/gen_initramfs.sh 2013-03-24 04:51:37.545040676 +0100 >+++ /usr/share/genkernel/gen_initramfs.sh 2013-03-24 04:51:37.545040676 +0100 >@@ -259,6 +259,11 @@ > mkdir -p "${TEMP}/initramfs-dmraid-temp/" > /bin/tar -jxpf "${DMRAID_BINCACHE}" -C "${TEMP}/initramfs-dmraid-temp" || > gen_die "Could not extract dmraid binary cache!"; >+ if [ -x /sbin/dmsetup -a -x /sbin/kpartx ] >+ then >+ copy_binaries "${TEMP}/initramfs-dmraid-temp" \ >+ /sbin/{dmsetup,kpartx} >+ fi > cd "${TEMP}/initramfs-dmraid-temp/" > RAID456=`find . -type f -name raid456.ko` > if [ -n "${RAID456}" ]
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 463008
:
343146
| 374206