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 940037 Details for
Bug 1145192
RFE: Allow install of i686 crash without name conflict on x86_64 arch
[?]
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.
proof of concept patch which just renames 'crash' to 'crash-i686' on i686
0001-Change-crash.spec-to-rename-crash-to-crash-i686-for-.patch (text/x-diff), 1.87 KB, created by
Dave Wysochanski
on 2014-09-22 14:17:39 UTC
(
hide
)
Description:
proof of concept patch which just renames 'crash' to 'crash-i686' on i686
Filename:
MIME Type:
Creator:
Dave Wysochanski
Created:
2014-09-22 14:17:39 UTC
Size:
1.87 KB
patch
obsolete
>From a3f8d2928ae002726983d8e0871139752b0a1459 Mon Sep 17 00:00:00 2001 >From: Dave Wysochanski <dwysocha@redhat.com> >Date: Thu, 28 Aug 2014 12:14:22 -0400 >Subject: [PATCH] Change crash.spec to rename 'crash' to 'crash-i686' for i686 > RPM. > >This is a simple way to allow us to allow the i686 rpm (32-bit crash) >to be installed without conflicts on x86_64 architecture. > >A better solution would be something like: >if the machine arch being installed is not the same as the package, >then rename the binary and anything else with arch-specific extension. >There's probably standard ways of handling this. >--- > crash.spec | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > >diff --git a/crash.spec b/crash.spec >index fc4b3da..c51cc75 100644 >--- a/crash.spec >+++ b/crash.spec >@@ -4,7 +4,7 @@ > Summary: crash utility for live systems; netdump, diskdump, kdump, LKCD or mcore dumpfiles > Name: crash > Version: 7.0.6 >-Release: 2%{?dist} >+Release: 3%{?dist} > License: GPLv3 > Group: Development/Debuggers > Source: %{name}-%{version}.tar.gz >@@ -77,13 +77,20 @@ fi > cp extensions/dminfo.so %{buildroot}%{_libdir}/crash/extensions > cp extensions/snap.so %{buildroot}%{_libdir}/crash/extensions > cp extensions/trace.so %{buildroot}%{_libdir}/crash/extensions >+%ifarch i686 >+mv %{buildroot}/usr/bin/crash %{buildroot}/usr/bin/crash-i686 >+%endif > > %clean > rm -rf %{buildroot} > > %files > %defattr(-,root,root) >+%ifarch i686 >+/usr/bin/crash-i686 >+%else > /usr/bin/crash >+%endif > %{_mandir}/man8/crash.8* > %doc README > >@@ -96,6 +103,9 @@ rm -rf %{buildroot} > %{_libdir}/crash/extensions/* > > %changelog >+* Thu Aug 28 2014 Dave Wysochanski <dwysocha@redhat.com> - 7.0.6-3 >+- Add 'crash-i686' and i686 extensions so we can install i686 crash on a x86_64 machine >+ > * Fri Jun 27 2014 Dave Wysochanski <dwysocha@redhat.com> - 7.0.6-2 > - Fix infinite loop in 'crash --osrelease' with damaged vmcore [1114088] > >-- >1.8.3.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 Raw
Actions:
View
Attachments on
bug 1145192
: 940037