From: Prarit Bhargava on
gitlab.com
Merge Request:
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1638
genspec.sh has _22_ parameters that must be specified on the command line
which are generated by the Makefile. These parameters can be set in the
script by using the output of the dist-dump-variables target which
simplifies the genspec.sh script.
In addition to that, and as fall-out from this change, use common
names in genspec.sh (which come from the Makefile), and
kernel.spec.template.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
---
redhat/Makefile | 2 +-
redhat/genspec.sh | 57 +++++++++++++++-----------------------------
redhat/kernel.spec.template | 16 ++++++------
3 files changed, 29 insertions(+), 46 deletions(-)