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 583670 Details for
Bug 820722
fix zero partition and hfs grub2 patches
[?]
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 fixes
Fix-IBM-grub-patches.patch (text/plain), 2.24 KB, created by
David Aquilina
on 2012-05-10 20:51:43 UTC
(
hide
)
Description:
Patch fixes
Filename:
MIME Type:
Creator:
David Aquilina
Created:
2012-05-10 20:51:43 UTC
Size:
2.24 KB
patch
obsolete
>--- > grub-1.99-Fix-tests-of-zeroed-partition.patch | 2 +- > ...4-add-support-for-PowerMac-HFS-partitions.patch | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/grub-1.99-Fix-tests-of-zeroed-partition.patch b/grub-1.99-Fix-tests-of-zeroed-partition.patch >index a57711c..343c378 100644 >--- a/grub-1.99-Fix-tests-of-zeroed-partition.patch >+++ b/grub-1.99-Fix-tests-of-zeroed-partition.patch >@@ -16,7 +16,7 @@ index 9c1d133..e8638af 100644 > fi > > - if [ "$(file -s "${install_device}" -b | awk '{ print $1 }')" = ELF ] || [ $(cmp /dev/zero "${install_device}" &>/dev/null) ]; then >-+ if [ "$(file -s "${install_device}" -b | awk '{ print $1 }')" != ELF ] && ( cmp -s -n $(blockdev --getsize64 ${install_device}) /dev/zero "${install_device}" &>/dev/null ); then >++ if [ "$(file -s "${install_device}" -b | awk '{ print $1 }')" = ELF ] || (cmp -s -n $(blockdev --getsize64 ${install_device}) /dev/zero "${install_device}"); then > # Change boot device to the harddisk root > boot_device="$ofpath" > dd if="${grubdir}/${grub_modinfo_target_cpu}-$grub_modinfo_platform/core.${imgext}" of="${install_device}" status=noxfer || { >diff --git a/grub-2.00~beta4-add-support-for-PowerMac-HFS-partitions.patch b/grub-2.00~beta4-add-support-for-PowerMac-HFS-partitions.patch >index 9ad7dde..4cad3e7 100644 >--- a/grub-2.00~beta4-add-support-for-PowerMac-HFS-partitions.patch >+++ b/grub-2.00~beta4-add-support-for-PowerMac-HFS-partitions.patch >@@ -23,7 +23,7 @@ index 26be9d9..f1f9bae 100644 > - fi > - > + if [ "$("${grub_probe}" -m "${device_map}" -d "${install_device}" -t msdos_parttype)" = "41" ]; then >- if [ "$(file -s "${install_device}" -b | awk '{ print $1 }')" != ELF ] && ( cmp -s -n $(blockdev --getsize64 ${install_device}) /dev/zero "${install_device}" &>/dev/null ); then >+ if [ "$(file -s "${install_device}" -b | awk '{ print $1 }')" = ELF ] || (cmp -s -n $(blockdev --getsize64 ${install_device}) /dev/zero "${install_device}"); then > - # Change boot device to the harddisk root > - boot_device="$ofpath" > - dd if="${grubdir}/${grub_modinfo_target_cpu}-$grub_modinfo_platform/core.${imgext}" of="${install_device}" status=noxfer || { >-- >1.7.1 >
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 820722
: 583670