Whamcloud - gitweb
No RPM is built when NO_SRC=0, but we should have the rpms being built.
[fs/lustre-release.git] / build / lbuild
index 68930e6..598cb68 100755 (executable)
@@ -704,12 +704,12 @@ if [ -z "$LINUX" ] ; then
             patch_linux
             pack_linux
             clean_linux
+        fi
 
-            prep_kernel_build
-            clean_lustre
+        prep_kernel_build
+        clean_lustre
 
-            build_kernel
-        fi
+        build_kernel
     else
         # can't build a kernel if we have no series for it (i.e. patchless)
         # but we still need the headers