Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 515340 Details for
Bug 645088
sys-boot/grub-2.02 - Add native support for intel-microcode
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for grub-2.02 adding microcode initrd support
grub-linux-microcode.patch (text/plain), 1.76 KB, created by
Matthew Turnbull
on 2018-01-20 08:40:09 UTC
(
hide
)
Description:
Patch for grub-2.02 adding microcode initrd support
Filename:
MIME Type:
Creator:
Matthew Turnbull
Created:
2018-01-20 08:40:09 UTC
Size:
1.76 KB
patch
obsolete
>diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in >--- a/util/grub.d/10_linux.in >+++ b/util/grub.d/10_linux.in >@@ -136,9 +136,13 @@ EOF > if test -n "${initrd}" ; then > # TRANSLATORS: ramdisk isn't identifier. Should be translated. > message="$(gettext_printf "Loading initial ramdisk ...")" >+ initrd_path= >+ for i in ${initrd}; do >+ initrd_path+="${rel_dirname}/${i} " >+ done > sed "s/^/$submenu_indentation/" << EOF > echo '$(echo "$message" | grub_quote)' >- initrd ${rel_dirname}/${initrd} >+ initrd $(echo $initrd_path) > EOF > fi > sed "s/^/$submenu_indentation/" << EOF >@@ -189,6 +193,12 @@ while [ "x$list" != "x" ] ; do > linux_root_device_thisversion="${LINUX_ROOT_DEVICE}" > > initrd= >+ for i in intel-uc.img intel-ucode.img microcode.cpio; do >+ if test -e "${dirname}/${i}" ; then >+ initrd+=" ${i}" >+ break >+ fi >+ done > for i in "initrd.img-${version}" "initrd-${version}.img" "initrd-${version}.gz" \ > "initrd-${version}" "initramfs-${version}.img" \ > "initrd.img-${alt_version}" "initrd-${alt_version}.img" \ >@@ -198,7 +208,7 @@ while [ "x$list" != "x" ] ; do > "initramfs-genkernel-${GENKERNEL_ARCH}-${version}" \ > "initramfs-genkernel-${GENKERNEL_ARCH}-${alt_version}"; do > if test -e "${dirname}/${i}" ; then >- initrd="$i" >+ initrd+=" $i" > break > fi > done >@@ -217,7 +227,7 @@ while [ "x$list" != "x" ] ; do > fi > > if test -n "${initrd}" ; then >- gettext_printf "Found initrd image: %s\n" "${dirname}/${initrd}" >&2 >+ gettext_printf "Found initrd image(s) in %s:%s\n" "${dirname}" "${initrd}" >&2 > elif test -z "${initramfs}" ; then > # "UUID=" and "ZFS=" magic is parsed by initrd or initramfs. Since there's > # no initrd or builtin initramfs, it can't work here.
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 645088
:
515340
|
515778
|
515802
|
515808
|
516028