Bug 605173 - init_buildsystem does not remove /.kernelversion
Summary: init_buildsystem does not remove /.kernelversion
Status: CONFIRMED
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: BuildService (show other bugs)
Version: unspecified
Hardware: Other Other
: P2 - High : Normal (vote)
Target Milestone: ---
Assignee: Adrian Schröter
QA Contact: Adrian Schröter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 13:40 UTC by Scott Bahling
Modified: 2010-09-14 10:12 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
remove /.kernelversion (392 bytes, patch)
2010-05-12 13:40 UTC, Scott Bahling
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Bahling 2010-05-12 13:40:28 UTC
Created attachment 361717 [details]
remove /.kernelversion

I am not sure where it came from, but a stale copy of /.kernelversion was laying in my local build root and interfering with /usr/lib/build/helper/uname.sh.

"osc build --clean" did not remove the file and it was causing a wrong kernel version to be reported by "uname -r" that some KMP makefiles call.

The attached patch fixes it for me.
Comment 1 Scott Bahling 2010-09-14 10:12:09 UTC
Can we get this in the next release? It hit me again. These old .kernelversion files seem to get left behind on some of the build clients and the Intel nic Makefiles abort while trying to detect the kernel header location (based on uname).