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 578400 Details for
Bug 811247
kabi-whitelists structure changing makes kabi check fail
[?]
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]
info test patch to check new location of whitelist.
info.patch (text/plain), 1.58 KB, created by
Greg Nichols
on 2012-04-18 15:44:22 UTC
(
hide
)
Description:
info test patch to check new location of whitelist.
Filename:
MIME Type:
Creator:
Greg Nichols
Created:
2012-04-18 15:44:22 UTC
Size:
1.58 KB
patch
obsolete
>Index: info.py >=================================================================== >--- info.py (revision 1269) >+++ info.py (working copy) >@@ -441,13 +441,19 @@ > # skip abi checks for rt kernel > if self.redHatRelease.getKernelFlavor() == Constants.rt: > return True >- whitelist = '/usr/src/kernels/%s-%s/kabi_whitelist' % (self.redHatRelease.getKernel(), self.redHatRelease.getArch()) >+ whitelistLocations = [("/lib/modules/kabi-current/kabi_whitelist_" + self.redHatRelease.getArch()), # RHEL 6.3 >+ ("/lib/modules/kabi/kabi_whitelist_" + self.redHatRelease.getArch()), # RHEL 6.2 ? >+ ("/usr/src/kernels/%s-%s/kabi_whitelist" % (self.redHatRelease.getKernel(), self.redHatRelease.getArch())) # ? >+ ] >+ >+ for whitelist in whitelistLocations: >+ if os.path.exists(whitelist): >+ break >+ > if not os.path.exists(whitelist): >- usrSrcWhitelist = whitelist >- whitelist = "/lib/modules/kabi/kabi_whitelist_" + self.redHatRelease.getArch() >- if not os.path.exists(whitelist): >- print "Error: could not find whitelist file %s or %s" %(usrSrcWhitelist, whitelist) >- return False >+ print "Error: could not find whitelist file in any of the following locations:" >+ print "\n".join(whitelistLocations) >+ return False > > print "Red Hat Enterprise Linux %u ABI" % self.redHatRelease.getVersion() > print "--------------------------------"
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 811247
: 578400