From: Christopher J. Morrone Date: Wed, 4 May 2016 00:44:33 +0000 (-0700) Subject: LU-7645 build: Remove unused --with-release configure option X-Git-Tag: 2.8.56~41 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=b2ee26bb78ccea8616b3fc94cc1c5fc258831207;hp=7b57a7c836ab209f6f1efb93b0e9ffdc59a25534 LU-7645 build: Remove unused --with-release configure option At this point, configure's --with-release option no longer has any effect. We remove it completely. Test-Parameters: trivial Change-Id: I7373c9bf401464f4284ad79aa6fef746dc711bc9 Signed-off-by: Christopher J. Morrone Reviewed-on: http://review.whamcloud.com/19958 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Dmitry Eremin Reviewed-by: Oleg Drokin --- diff --git a/config/lustre-build-linux.m4 b/config/lustre-build-linux.m4 index 4351c9f..5713caf 100644 --- a/config/lustre-build-linux.m4 +++ b/config/lustre-build-linux.m4 @@ -75,16 +75,6 @@ AC_SUBST(LINUXRELEASE) AC_DEFUN([LB_LINUX_RELEASE], [ LB_LINUX_UTSRELEASE -# ------------ RELEASE -------------------------------- -AC_MSG_CHECKING([for Lustre release]) -AC_ARG_WITH([release], - AC_HELP_STRING([--with-release=string], - [set the release string (default=$kvers_YYYYMMDDhhmm)]), - [RELEASE=$withval], [ - RELEASE="$(echo $LINUXRELEASE | tr '-' '_')"]) -AC_MSG_RESULT($RELEASE) -AC_SUBST(RELEASE) - # check if the kernel is one from RHEL or SUSE AC_CACHE_CHECK([for RedHat kernel release number], lb_cv_rhel_kernel_version, [ lb_cv_rhel_kernel_version="" diff --git a/config/lustre-build.m4 b/config/lustre-build.m4 index eb454a1..d2db823 100644 --- a/config/lustre-build.m4 +++ b/config/lustre-build.m4 @@ -463,7 +463,6 @@ for arg; do -C | --cache-file=* ) ;; --prefix=* | --*-prefix=* ) ;; --enable-dist ) ;; - --with-release=* ) ;; --with-kmp-moddir=* ) ;; --with-linux=* | --with-linux-obj=* ) ;; --enable-shared | --disable-shared ) ;; diff --git a/lustre.spec.in b/lustre.spec.in index 9d3c2f4..eba78aa 100644 --- a/lustre.spec.in +++ b/lustre.spec.in @@ -263,7 +263,6 @@ fi %{!?with_zfs:--without-zfs} \ %{!?with_lnet_dlc:--disable-dlc} \ %{!?with_manpages:--disable-manpages} \ - --with-release=%{release} \ --with-linux=%{kdir} \ --with-linux-obj=%{kobjdir} \ --with-kmp-moddir=%{kmoddir}/%{name}