Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 908186 Details for
Bug 1108344
os-prober cannot handle linux16/initrd16 as produced by gtub2-2.02
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
add support to return kernel and initrd type
os-prober-kernel-initrd-type.patch (text/plain), 1.26 KB, created by
Gene Czarcinski
on 2014-06-12 15:37:19 UTC
(
hide
)
Description:
add support to return kernel and initrd type
Filename:
MIME Type:
Creator:
Gene Czarcinski
Created:
2014-06-12 15:37:19 UTC
Size:
1.26 KB
patch
obsolete
>diff -uNr os-prober-1.58.orig/linux-boot-probes/mounted/common/40grub2 os-prober-1.58/linux-boot-probes/mounted/common/40grub2 >--- os-prober-1.58.orig/linux-boot-probes/mounted/common/40grub2 2014-06-12 09:22:46.907261464 -0400 >+++ os-prober-1.58/linux-boot-probes/mounted/common/40grub2 2014-06-12 09:58:16.368469002 -0400 >@@ -26,12 +26,14 @@ > if [ "$ignore_item" = 0 ] && \ > [ -n "$kernel" ] && \ > [ -e "$mpoint/$kernelfile" ]; then >- result "$rootpart:$bootpart:$title:$kernel:$initrd:$parameters" >+ result "$rootpart:$bootpart:$title:$kernel:$initrd:$parameters:$kernel_type:$initrd_type" > found_item=1 > fi > kernel="" >+ kernel_type="" > parameters="" > initrd="" >+ initrd_type="" > title="" > ignore_item=0 > } >@@ -42,8 +44,10 @@ > bootpart="$3" > > kernel="" >+ kernel_type="" > parameters="" > initrd="" >+ initrd_type="" > title="" > ignore_item=0 > >@@ -77,7 +81,8 @@ > ignore_item=1 > fi > ;; >- linux) >+ linux*) >+ kernel_type="$1" > # Hack alert: sed off any (hdn,n) but > # assume the kernel is on the same > # partition. >@@ -90,7 +95,8 @@ > kernel="/boot$kernel" > fi > ;; >- initrd) >+ initrd*) >+ initrd_type="$1" > initrd="$(echo "$2" | sed 's/(.*)//')" > # Initrd same. > if [ "$partition" != "$bootpart" ]; then
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 1108344
: 908186