From: Prarit Bhargava on
gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1900#note_1012...
@dzickusrh & I had a significant discussion about this MR and what the
"right" thing to do is. There are several facets to this problem
including what users should do to install packages, how they should know
to install those packages, and how and when errors should be displayed.
As a result of this conversation I am putting this MR back into draft for
a major rework. I am going to update the documentation with instructions
to run a new target dist-get-buildreqs that will output the set of build
requirement rpms for the kernel. The documentation will include also
include a statement that explains that the list of packages may or may not
be necessary for all dist-* targets.
In addition to that, I will rename the dist-buildreq-check to the
previously mentioned dist-get-buildreqs, and add in a section to better
explain the need for the system-sb-certs package. Instead of pointing
everyone to a Red Hat Repository, I will point people to the CentOS Stream
repository that contains the matching package. In this way we can then
also include a URL to the repository.
Users requiring the list of packages (automated builds, etc.) can then
do something like:
```
make dist-get-buildreqs | grep "Please install:" | cut -d":" -f2-
```
or something similar to get the full list of required packages.
The direct calling of dist-buildreq-check will be removed from the
targets. It is expected that the above, once documented, should be
sufficient for users to understand how to install the kernel-ark build
requirements.