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 316216 Details for
Bug 461551
initscripts unmounts /usr before calling kexec which needs it...
[?]
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]
make that a unidiff (doh!)
kexec-spec-patch2 (text/plain), 1.48 KB, created by
Jonathan Peatfield
on 2008-09-09 17:21:00 UTC
(
hide
)
Description:
make that a unidiff (doh!)
Filename:
MIME Type:
Creator:
Jonathan Peatfield
Created:
2008-09-09 17:21:00 UTC
Size:
1.48 KB
patch
obsolete
>--- SPECS/kexec-tools.spec.orig 2008-08-04 18:01:08.000000000 +0100 >+++ SPECS/kexec-tools.spec 2008-09-09 18:07:17.000000000 +0100 >@@ -1,6 +1,6 @@ > Name: kexec-tools > Version: 1.102pre >-Release: 21%{?dist}.2 >+Release: 21%{?dist}.2.test2 > License: GPL > Group: Applications/System > Summary: The kexec/kdump userspace component. >@@ -123,12 +123,29 @@ > export CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2" > %endif > >+# *sigh*, I hate this, but theres not another good way to do it. >+# kexec needs zlib to handle/load compressed kernel files, it also >+# needs to be able to reboot the system after everything has been unmounted >+# This presents a problem, since zlib is located in /usr/lib/libz.so. >+# The only real solutions we have are: >+# 1) statically link against zlib >+# 2) write a separate statically linked utility >+# I don't like either solution, especiatlly since Fedora has mandated dynamic >+# but it seems like (1) is the easiest way forward. Unfortunatley the config >+# script automatically adds -lz to everything, so to work around that, I have >+# to: >+# a) export LIBS="-Wl,-Bstatic -lz -Wl,-Bdynamic" >+# b) configure --without-zlib >+# This is rather horrendous, but whatever, kexec is always last on anyones >+# mind ayway > %configure \ > %ifarch ppc64 > --host=powerpc64-redhat-linux-gnu \ > --build=powerpc64-redhat-linux-gnu \ > %endif > --sbindir=/sbin >+# Hack hack hack >+sed -i 's/-lz/-Wl,-Bstatic -lz -Wl,-Bdynamic/' Makefile.conf > rm -f kexec-tools.spec.in > cp %{SOURCE10} . > make
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 461551
:
316198
|
316204
|
316215
| 316216