The following commit has been merged in the openafs-stable-1_8_x branch:
commit 17f76dfa6abc17a36d78b9e1dc0354cbccc98489
Author: Michael Meffie <[email protected]>
Date: Thu Apr 5 22:56:50 2018 -0400
redhat: remove extra kernel version check
Commit a1c072ac562ccf74e5afb8449db1bcef86aef362 (redhat: fix rpmbuild
command
line option defaults) added logic to set the default value of the kernvers
variable when not specified as an rpmbuild command line option.
This default value is not necessary, since 'kmodtool verrel' already returns
the current running kernel version by default. The result of 'kmodtool
verrel'
sets the kverrel variable, which holds the value of the kernel version we
are
building. The kernvers variable is only used as an argument to 'kmodtool
verrel' and may be empty by default to indicate the current version should
be
returned.
Remove the unnecessary setting of the default value of kernvers.
Also update the information banner to show the value of kverrel, which is
the
actual version we are building, instead of kernvers, which is empty be
default.
Reviewed-on: https://gerrit.openafs.org/12995
Tested-by: BuildBot <[email protected]>
Reviewed-by: Stephan Wiesand <[email protected]>
Reviewed-by: Benjamin Kaduk <[email protected]>
(cherry picked from commit 9f0164f4254da39c3c31e0268da58ce7a6ccda1d)
Change-Id: I355e3772c6bda18a385b48be80fb7f952c2fca3b
Reviewed-on: https://gerrit.openafs.org/12998
Reviewed-by: Benjamin Kaduk <[email protected]>
Tested-by: BuildBot <[email protected]>
src/packaging/RedHat/openafs.spec.in | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
--
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs