Bug 251189 - Kernel build leaves kabideps files in %{_tmppath}
Kernel build leaves kabideps files in %{_tmppath}
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Jarod Wilson
Martin Jenner
Depends On:
Blocks: 425461
  Show dependency treegraph
Reported: 2007-08-07 13:26 EDT by Jos Vos
Modified: 2008-05-21 10:49 EDT (History)
1 user (show)

See Also:
Fixed In Version: RHBA-2008-0314
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-05-21 10:49:02 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jos Vos 2007-08-07 13:26:22 EDT
Description of problem:
After a kernel, several kernel-*-kabideps files remain in %{_tmppath}.

Version-Release number of selected component (if applicable):

Use a directory for the files and remove this in %clean.
Affected spec file lines (the "mkdir" line is new):

%define __find_provides %_sourcedir/find-provides %{_tmppath}/kabideps


    mkdir -p %{_tmppath}/kabideps
    rm -f %{_tmppath}/kabideps/kernel-$KernelVer-kabideps
    %_sourcedir/kabitool -b . -d %{_tmppath}/kabideps/kernel-$KernelVer-kabideps
-k $KernelVer -w $RPM_BUILD_ROOT/kabi_whitelist


rm -rf %{_tmppath}/kabideps
Comment 1 Jarod Wilson 2007-09-01 23:58:06 EDT
I'll take care of this one along with some other spec changes queued up for 5.2.
Comment 2 RHEL Product and Program Management 2007-11-01 19:25:25 EDT
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
Comment 3 Jarod Wilson 2007-12-06 13:05:16 EST
This change was pulled in along with numerous other spec fixes and enhancements,
and is in kernel 2.6.18-58.el5 and later.
Comment 7 errata-xmlrpc 2008-05-21 10:49:02 EDT
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 the 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.


Note You need to log in before you can comment on or make changes to this bug.