From a1b5a7cee96b67d6ce5af8633c5dd58ec4970737 Mon Sep 17 00:00:00 2001 From: brian Date: Tue, 4 Apr 2006 22:33:32 +0000 Subject: [PATCH] Of course, we need to work outside of $DO_SRC == 1. --- build/lbuild | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/build/lbuild b/build/lbuild index 3ac9cdf..48dfd97 100755 --- a/build/lbuild +++ b/build/lbuild @@ -697,9 +697,9 @@ unpack_lustre if [ -z "$LINUX" ] ; then load_target - if (( $DO_SRC )) ; then - unpack_linux - if [ "$SERIES" ] ; then + if [ "$SERIES" ] ; then + if (( $DO_SRC )) ; then + unpack_linux patch_linux pack_linux clean_linux @@ -708,11 +708,13 @@ if [ -z "$LINUX" ] ; then clean_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 + else + # can't build a kernel if we have no series for it (i.e. patchless) + # but we still need the headers + unpack_linux + LINUX=$(pwd)/linux + build_lustre fi else build_lustre -- 1.8.3.1