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 574900 Details for
Bug 809537
info test kernel validation should allow more flexibility to support beta testing.
[?]
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 allow partial matches of version-release string
info.patch (text/plain), 1.21 KB, created by
Greg Nichols
on 2012-04-03 15:35:08 UTC
(
hide
)
Description:
info test patch to allow partial matches of version-release string
Filename:
MIME Type:
Creator:
Greg Nichols
Created:
2012-04-03 15:35:08 UTC
Size:
1.21 KB
patch
obsolete
>Index: info.py >=================================================================== >--- info.py (revision 1243) >+++ info.py (working copy) >@@ -46,7 +46,7 @@ > if "Red Hat" in self.redHatRelease.getProduct() and self.redHatRelease.getVersion() < 6: > # kernel-devel or varient is required for the ABI whitelist for RHEL5 > rpms = [self.redHatRelease.getKernelDevelRPMName()] >- else: >+ else: # RHEL6 and beyond > rpms = ["kabi-whitelists"] > rpms.append("policycoreutils") > return rpms >@@ -180,7 +180,8 @@ > print "reading kernel info file " + kernelInfoFile > kernelInfo = KernelInfo(kernelInfoFile) > RHELGAKernel = kernelInfo.getGAKernel(self.redHatRelease.getVersion(), self.redHatRelease.getUpdate()) >- if RHELGAKernel == self.redHatRelease.getKernelVersionRelease(): >+ # allow partial matches from the left-end of the V-R string >+ if self.redHatRelease.getKernelVersionRelease().index(RHELGAKernel) is 0: > print "Kernel is RHEL %s.%s GA: %s" % (self.redHatRelease.getVersion(), self.redHatRelease.getUpdate(), RHELGAKernel) > return True > else:
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 809537
: 574900 |
574904