From: Ashley Pittman Date: Wed, 9 Apr 2014 14:05:00 +0000 (-0400) Subject: LU-1199 build: Remove unused lbuild options. X-Git-Tag: 2.6.0-RC1~101 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=3ad1b8e98a47913a3e29f2d4bc3c9271299ad65b LU-1199 build: Remove unused lbuild options. Remove the --tag, --ldiskfs, --reuserpm and --disable-timestamps options entirely. Signed-off-by: Ashley Pittman Change-Id: Icea6886730cc58f9703fb441a9cb94b58a790314 Reviewed-on: http://review.whamcloud.com/9922 Reviewed-by: Andreas Dilger Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Minh Diep --- diff --git a/contrib/lbuild/lbuild b/contrib/lbuild/lbuild index 7c0dac1..3d4bf18 100755 --- a/contrib/lbuild/lbuild +++ b/contrib/lbuild/lbuild @@ -60,9 +60,6 @@ EXTRA_VERSION= STAGEDIR= TMPDIR=${TMPDIR:-"/var/tmp"} TIMESTAMP= -# this is a dir to try reuse old kernel RPMs in (although, it seems to be -# unused in any real manner -REUSERPM= # this is the dir that should be used to store reuse products REUSEBUILD= # should cached products be used or force rebuilding? @@ -137,9 +134,6 @@ Usage: ${0##*/} [OPTION]... [-- ] --timestamp=TIMESTAMP Date of building lustre in format YYYYMMDDhhmmss - --reuserpm=DIR - Try to reuse old kernel RPMs from DIR - --reusebuild=DIR Try to reuse old kernel builds from DIR @@ -1968,7 +1962,7 @@ set -E [ -r ~/.lbuildrc ] && . ~/.lbuildrc -options=$(getopt -o D:h -l kerneltree:,distro:,kernelrpm:,reusebuild:,patchless,ldiskfs,ccache,reuse:,norpm,disable-datestamp,external-patches:,timestamp:,extraversion:,kerneldir:,linux:,lustre:,nodownload,nosrc,noiokit,ofed-version:,mpss-version:,publish,release,set-value:,src,stage:,tag:,target:,target-archs:,with-linux:,xen -- "$@") +options=$(getopt -o D:h -l kerneltree:,distro:,kernelrpm:,reusebuild:,patchless,ccache,norpm,external-patches:,timestamp:,extraversion:,kerneldir:,linux:,lustre:,nodownload,nosrc,noiokit,ofed-version:,mpss-version:,publish,release,set-value:,src,stage:,target:,target-archs:,with-linux:,xen -- "$@") if [ $? != 0 ]; then usage 1 @@ -2020,10 +2014,6 @@ while [ "$1" ]; do DISTRO=$2 shift 2 ;; - --reuserpm) - REUSERPM=$2 - shift 2 - ;; --reusebuild) if ! REUSEBUILD=$(canon_path "$2"); then fatal 1 "Could not determine the canonical location of $2" @@ -2034,10 +2024,6 @@ while [ "$1" ]; do NORPM=true shift ;; - --ldiskfs) - echo "WARNING: \"--ldiskfs\" is deprecated" > 2 - shift - ;; --noiokit) IOKITRPM=false shift @@ -2093,10 +2079,6 @@ while [ "$1" ]; do STAGEDIR=$2 shift 2 ;; - --tag) - shift 2 - echo "WARNING: \"--tag\" is deprecated" > 2 - ;; --target) TARGET=$2 shift 2