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 627605 Details for
Bug 723466
Unable to install driver rpms from driver update disk iso at boot time
[?]
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 for testing
kabi-testing.patch (text/plain), 1.90 KB, created by
Jiri Benc
on 2012-10-15 18:06:38 UTC
(
hide
)
Description:
Patch for testing
Filename:
MIME Type:
Creator:
Jiri Benc
Created:
2012-10-15 18:06:38 UTC
Size:
1.90 KB
patch
obsolete
>Disable generating of rpm requires for non-whitelisted symbols. > >Dangerous. For testing purposes only. > >--- > qla2xxx/rpm/SOURCES/find-requires.ksyms | 46 ++++++++++++++++++++++++++++++++ > qla2xxx/rpm/SPECS/qla2xxx.spec | 2 + > 2 files changed, 48 insertions(+) > >--- /dev/null >+++ b/qla2xxx/rpm/SOURCES/find-requires.ksyms >@@ -0,0 +1,46 @@ >+#! /bin/bash >+ >+IFS=$'\n' >+ >+all_provides() { >+ nm "$@" \ >+ | sed -r -ne 's:^0*([0-9a-f]+) A __crc_(.+):\1\t\2:p' \ >+ | sort -k2 -u >+} >+ >+all_requires() { >+ for module in "$@"; do >+ set -- $(/sbin/modinfo -F vermagic "$module" | sed -e 's: .*::' -e q) >+ /sbin/modprobe --dump-modversions "$module" \ >+ | sed -r -e 's:^0x0*::' -e 's:$:\t'"$1"':' >+ done \ >+ | sort -k2 -u >+} >+ >+if ! [ -e /sbin/modinfo -a -e /sbin/modprobe ]; then >+ cat > /dev/null >+ exit 0 >+fi >+ >+modules=($(grep -E '/lib/modules/.+\.ko$')) >+if [ ${#modules[@]} -gt 0 ]; then >+ symset_table=$(mktemp -t ${0##*/}.XXXXX) >+ /usr/lib/rpm/redhat/symset-table | sort > $symset_table >+ >+ join -t $'\t' -j 1 -a 2 $symset_table <( >+ # Filter out requirements that we fulfill ourself. >+ join -t $'\t' -j 2 -v 1 \ >+ <(all_requires "${modules[@]}") \ >+ <(all_provides "${modules[@]}") \ >+ | awk ' >+ BEGIN { FS = "\t" ; OFS = "\t" } >+ { print $3 "/" $2 "/" $1 } >+ ' \ >+ | sort -u) \ >+ | sort -u \ >+ | awk ' >+ { FS = "\t" ; OFS = "\t" } >+ NF == 3 { print "kernel(" $2 ") = " $3 >+ next } >+ ' >+fi >--- a/qla2xxx/rpm/SPECS/qla2xxx.spec >+++ b/qla2xxx/rpm/SPECS/qla2xxx.spec >@@ -11,7 +11,9 @@ > ############################################################################### > > Source10: kmodtool_qla2xxx >+Source11: find-requires.ksyms > %define kmodtool bash %{SOURCE10} >+%define __find_requires bash %{SOURCE11} > %{!?kversion: %define kversion 2.6.18-8.1.10.el5} > > %define kmod_name qla2xxx
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 723466
:
513962
|
514198
|
533053
|
592919
|
627393
|
627405
| 627605