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 640268 Details for
Bug 874234
GRUB2 fails to install if destination is a symlink (powerpc-ieee1275)
[?]
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]
Adds the parameter to fix the problem
follow-the-symbolic-link-ieee1275.patch (text/plain), 1.25 KB, created by
Paulo Flabiano Smorigo
on 2012-11-07 18:40:51 UTC
(
hide
)
Description:
Adds the parameter to fix the problem
Filename:
MIME Type:
Creator:
Paulo Flabiano Smorigo
Created:
2012-11-07 18:40:51 UTC
Size:
1.25 KB
patch
obsolete
>From 9436d0324b98e71c8ab55b09b4248a617cd463a8 Mon Sep 17 00:00:00 2001 >From: Paulo Flabiano Smorigo <pfsmorigo@br.ibm.com> >Date: Wed, 7 Nov 2012 16:22:33 -0200 >Subject: [PATCH] Follow the symbolic link (ieee1275) > >If the device used is a symlink, the file command must "follow >the link" in order to check the real device. >--- > util/grub-install.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/util/grub-install.in b/util/grub-install.in >index 69a97ad..19dc3b4 100644 >--- a/util/grub-install.in >+++ b/util/grub-install.in >@@ -750,7 +750,7 @@ elif [ "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" = "i386-ieee1275" ] > exit 1 > fi > >- if [ "$(file -s "${install_device}" -b | awk '{ print $1 }')" = ELF ] || [ x$("${grub_probe}" -m "${device_map}" -d "${install_device}" -t zero_check) = xtrue ]; then >+ if [ "$(file -s -b -L "${install_device}" | awk '{ print $1 }')" = ELF ] || [ x$("${grub_probe}" -m "${device_map}" -d "${install_device}" -t zero_check) = xtrue ]; then > dd if="${grubdir}/${grub_modinfo_target_cpu}-$grub_modinfo_platform/core.${imgext}" of="${install_device}" status=noxfer || { > gettext "Failed to copy Grub to the PReP partition." 1>&2 > echo 1>&2 >-- >1.7.10.4 >
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 874234
: 640268