Whamcloud - gitweb
remove the lustre version from the kernel EXTRA_VERSION to help get long branch
authornic <nic>
Wed, 2 Mar 2005 20:21:14 +0000 (20:21 +0000)
committernic <nic>
Wed, 2 Mar 2005 20:21:14 +0000 (20:21 +0000)
named nonrelease kernels under the 64 char uname limit

build/lbuild

index a7c7e64..e66516f 100755 (executable)
@@ -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//-/_}