Whamcloud - gitweb
Ahhh. For patchless client, we still need the kernel source unpacked and
authorbrian <brian>
Tue, 4 Apr 2006 22:02:15 +0000 (22:02 +0000)
committerbrian <brian>
Tue, 4 Apr 2006 22:02:15 +0000 (22:02 +0000)
configure needs to know where it is.

build/lbuild

index 8dadf62..3ac9cdf 100755 (executable)
@@ -697,21 +697,22 @@ unpack_lustre
 if [ -z "$LINUX" ] ; then
     load_target
 
 if [ -z "$LINUX" ] ; then
     load_target
 
-    if [ "$SERIES" ] ; then
-        if (( $DO_SRC )) ; then
-            unpack_linux
+    if (( $DO_SRC )) ; then
+        unpack_linux
+        if [ "$SERIES" ] ; then
             patch_linux
             pack_linux
             clean_linux
             patch_linux
             pack_linux
             clean_linux
-        fi
 
 
-        prep_kernel_build
-        clean_lustre
+            prep_kernel_build
+            clean_lustre
 
 
-        build_kernel
-    else
-        # can't build a kernel if we have no series for it (i.e. patchless)
-        build_lustre
+            build_kernel
+        else
+            # can't build a kernel if we have no series for it (i.e. patchless)
+            LINUX=$(pwd)/linux
+            build_lustre
+        fi
     fi
 else
     build_lustre
     fi
 else
     build_lustre