X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=build%2Flbuild;h=3ac9cdfd9f5992320d0a32e843b56ac298371de5;hp=8dadf625b86b7d6077eec96f0ebec70168d1acfa;hb=effd59007649a16873eddfbb7cc0da1b9bc9b071;hpb=a6aaba12b428cb7ffb31f0c13dcdd946d21f6ee9 diff --git a/build/lbuild b/build/lbuild index 8dadf62..3ac9cdf 100755 --- a/build/lbuild +++ b/build/lbuild @@ -697,21 +697,22 @@ unpack_lustre 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 - 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