Bugzilla – Bug 605173
init_buildsystem does not remove /.kernelversion
Last modified: 2010-09-14 10:12:09 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.
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).