From: mjmac Date: Fri, 7 Apr 2006 17:47:04 +0000 (+0000) Subject: * turns out we actually need to build against real sources for patchless X-Git-Tag: v1_7_100~495 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=890006683c0440fd053a4704c434c3f289885f95 * turns out we actually need to build against real sources for patchless * massage the kernel Makefile's EXTRAVERSION to match the running kernel --- diff --git a/build/lbuild b/build/lbuild index 2f8b79f..988fbad 100755 --- a/build/lbuild +++ b/build/lbuild @@ -712,7 +712,7 @@ if [ -z "$LINUX" ] ; then else # can't build a kernel if we have no series for it (i.e. patchless) # but we still need the headers - use_unpacked_source=false + use_unpacked_source=true if $use_unpacked_source; then unpack_linux LINUX=$(pwd)/linux @@ -727,7 +727,7 @@ if [ -z "$LINUX" ] ; then # vendors like to taint the EXTRAVERSION in their kernel-source # to differentiate a user-built kernel from their own ed << EOF Makefile -/^EXTRAVERSION =/d +,s/^EXTRAVERSION =.*/EXTRAVERSION = -${lnxrel}smp/ wq EOF make oldconfig