From ca43bda5820b86d7d9f8e3d2efab1e6845ded29b Mon Sep 17 00:00:00 2001 From: nic Date: Wed, 2 Mar 2005 20:21:14 +0000 Subject: [PATCH] remove the lustre version from the kernel EXTRA_VERSION to help get long branch named nonrelease kernels under the 64 char uname limit --- build/lbuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build/lbuild b/build/lbuild index a7c7e64..e66516f 100755 --- a/build/lbuild +++ b/build/lbuild @@ -230,6 +230,8 @@ 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}" fi # EXTRA_VERSION=${EXTRA_VERSION//-/_} -- 1.8.3.1