From dbbce578f816feb56a13a751a6d44cf1d1ecf4a5 Mon Sep 17 00:00:00 2001 From: brian Date: Mon, 3 Jul 2006 01:12:40 +0000 Subject: [PATCH 1/1] If the kernel doesn't have a patch series, it's not lustre specific. Take two. --- build/lbuild | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/build/lbuild b/build/lbuild index 450236d..acef5bc 100755 --- a/build/lbuild +++ b/build/lbuild @@ -341,9 +341,13 @@ load_target() if [ "$EXTRA_VERSION_save" ] ; then EXTRA_VERSION="$EXTRA_VERSION_save" elif ! (( $RELEASE )) ; then - #remove the @VERSION@ (lustre version) - EXTRA_VERSION=$(echo $EXTRA_VERSION | sed -e "s/\(.*_lustre\)\..*/\1/") - EXTRA_VERSION="${EXTRA_VERSION}-${TAG}.${TIMESTAMP}" + # if there is no patch series, then this is not a lustre specific + # kernel. don't make it look like one + if [ -n "$SERIES" ]; then + #remove the @VERSION@ (lustre version) + EXTRA_VERSION=$(echo $EXTRA_VERSION | sed -e "s/\(.*_lustre\)\..*/\1/") + EXTRA_VERSION="${EXTRA_VERSION}-${TAG}.${TIMESTAMP}" + fi fi # EXTRA_VERSION=${EXTRA_VERSION//-/_} -- 1.8.3.1