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 951005 Details for
Bug 1108296
30_os-prober generates incorrect menuentry definitions
[?]
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]
patch to emit linux16 etc.
0154-Try-to-emit-linux16-initrd16-and-linuxefi-initrdefi-.patch (text/plain), 1.97 KB, created by
Peter Jones
on 2014-10-27 13:30:37 UTC
(
hide
)
Description:
patch to emit linux16 etc.
Filename:
MIME Type:
Creator:
Peter Jones
Created:
2014-10-27 13:30:37 UTC
Size:
1.97 KB
patch
obsolete
>From 53e38c3eefd1e5f41bf1f3b5bc7bae4e5b667ff1 Mon Sep 17 00:00:00 2001 >From: Peter Jones <pjones@redhat.com> >Date: Mon, 27 Oct 2014 09:22:55 -0400 >Subject: [PATCH 154/154] Try to emit linux16/initrd16 and linuxefi/initrdefi > in 30-os_prober. > >Resolves: rhbz#1108296 > >Signed-off-by: Peter Jones <pjones@redhat.com> >--- > util/grub.d/30_os-prober.in | 30 ++++++++++++++++++++++++++---- > 1 file changed, 26 insertions(+), 4 deletions(-) > >diff --git a/util/grub.d/30_os-prober.in b/util/grub.d/30_os-prober.in >index 9f955ab..908a09d 100644 >--- a/util/grub.d/30_os-prober.in >+++ b/util/grub.d/30_os-prober.in >@@ -135,6 +135,28 @@ for OS in ${OSPROBED} ; do > LONGNAME="${LABEL}" > fi > >+ sixteenbit="" >+ linuxefi="linux" >+ initrdefi="initrd" >+ case "$machine" in >+ i?86|x86_64) >+ sixteenbit="16" >+ linuxefi="linuxefi" >+ initrdefi="initrdefi" >+ ;; >+ aarch64) >+ linuxefi="linux" >+ initrdefi="initrd" >+ esac >+ linux="linux${sixteenbit}" >+ initrd="initrd${sixteenbit}" >+ # there's no way to tell that the /other/ os is booting through UEFI, >+ # but if we are it's an okay bet... >+ if [ -d /sys/firmware/efi ]; then >+ linux=$linuxefi >+ initrd=$initrdefi >+ fi >+ > gettext_printf "Found %s on %s\n" "${LONGNAME}" "${DEVICE}" >&2 > > case ${BOOT} in >@@ -235,11 +257,11 @@ EOF > save_default_entry | grub_add_tab > printf '%s\n' "${prepare_boot_cache}" > cat << EOF >- linux ${LKERNEL} ${LPARAMS} >+ ${linux} ${LKERNEL} ${LPARAMS} > EOF > if [ -n "${LINITRD}" ] ; then > cat << EOF >- initrd ${LINITRD} >+ ${initrd} ${LINITRD} > EOF > fi > cat << EOF >@@ -255,11 +277,11 @@ EOF > save_default_entry | sed -e "s/^/$grub_tab$grub_tab/" > printf '%s\n' "${prepare_boot_cache}" | grub_add_tab > cat << EOF >- linux ${LKERNEL} ${LPARAMS} >+ ${linux} ${LKERNEL} ${LPARAMS} > EOF > if [ -n "${LINITRD}" ] ; then > cat << EOF >- initrd ${LINITRD} >+ ${initrd} ${LINITRD} > EOF > fi > cat << EOF >-- >1.9.3 >
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 1108296
:
908187
|
909733
| 951005