On Thu, Feb 16, 2012 at 10:36:34AM -0800, Ben Pfaff wrote: > OVS needs to inspect the headers in the kernel source directory at build > time. Debian keeps moving the source directory relative to the build > directory and doesn't provide an obvious way to find the source directory, > so in the past we've used some name-based heuristics to essentially guess > where it is. > > This commit introduces a new heuristic that I hope will be more reliable: > extracting the source directory from the Makefile in the build directory. > In Debian's case, it looks like the Makefile generally contains a line of > the form "MAKEARGS := -C <srcdir> O=<outdir>". This commit extracts the > source directory from that line. > > To avoid regressions this commit retains the older heuristics as fallbacks. > > CC: 659...@bugs.debian.org > Reported-by: Thomas Goirand <z...@debian.org> > Signed-off-by: Ben Pfaff <b...@nicira.com> > --- > I've tested this on squeeze with linux-headers-3.2.0-0.bpo.1-amd64. > I'm installing a sid VM so that I can test it with the kernel that > was mentioned in the reopened report.
I couldn't find the exact version 3.1.0-1-686-pae mentioned in the bug report, but it worked fine for 3.2.0-1-686-pae. Thanks, Ben. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org