Bug 451008
Summary: | Rpmbuild generates incorrect packages due to typos in the kernel-2.6.spec file. | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Alan Bartlett <ajb> | ||||
Component: | kernel | Assignee: | Jarod Wilson <jarod> | ||||
Status: | CLOSED ERRATA | QA Contact: | Martin Jenner <mjenner> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.2 | CC: | amyagi, dzickus | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-01-20 20:24:33 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Alan Bartlett
2008-06-12 11:31:26 UTC
Created attachment 309051 [details]
Patch to correct typos in kernel spec file.
These errors have been there from day one, and amazingly no one had noticed until now. Look at comment #42 of bug#240878 (or even comment #35) that was almost a year ago. Also obvious on inspection of comment #50 of bug#240878. The inversions should be corrected, but in my experience, they don't actually cause any failure of intended use. At least, they don't with Fedora kernel builds, where we have the same inversion. I'd give it a try with the RHEL5 kernel, but its probably not worth the effort, since we ought to fix that regardless... :) Anyone with a %_enable_debug_packages 0 line in their .rpmmacros file (such as I had) will not see this issue. It was only on removing that line to test the --without debugpackages command line flag, new with the *-92.el5 kernel series, did it become apparent to me. Thanks for correcting this. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. in kernel-2.6.18-99.el5 You can download this test kernel from http://people.redhat.com/dzickus/el5 Looking at the beginning of the spec file for the -99.el5 kernel, I see it is now as I would expect it to be. Thanks. I can now confirm that a build using the --with baseonly option on the command line performs correctly. Just the base kernel and its corresponding kernel-devel rpm files are built. rpmbuild -bb --target i686 --with baseonly kernel-2.6.spec builds kernel-2.6.18-99.el5.i686.rpm and kernel-devel-2.6.18-99.el5.i686.rpm Reverting back to MODIFIED. Please do not set to VERIFIED until QE sends instructions doing so. They have to make sure the patch makes it into a potential 5.3 distribution first. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2009-0225.html |