From: Prarit Bhargava <prarit(a)redhat.com>
redhat/docs: Update brew information
Update the documention with the 'make dist-brew' target.
Signed-off-by: Prarit Bhargava <prarit(a)redhat.com>
diff --git a/redhat/docs/faq.rst b/redhat/docs/faq.rst
index blahblah..blahblah 100644
--- a/redhat/docs/faq.rst
+++ b/redhat/docs/faq.rst
@@ -72,7 +72,6 @@ Yes.
.. code-block:: sh
- # use baseonly to skip building userspace tools to avoid failures
- make dist-srpm-baseonly
- brew build --scratch rhel-9.0.0-candidate <srpm>
-
+ # this target requires internal Red Hat network access and will always
+ # build against the latest RHEL major compose
+ make dist-brew
diff --git a/redhat/docs/index.rst b/redhat/docs/index.rst
index blahblah..blahblah 100644
--- a/redhat/docs/index.rst
+++ b/redhat/docs/index.rst
@@ -96,6 +96,14 @@ You can now build the binary RPM packages however you would like:
koji build --scratch rawhide redhat/rpm/SRPMS/kernel-*.src.rpm
koji build --scratch eln redhat/rpm/SRPMS/kernel-*.src.rpm
+or
+
+.. code-block:: sh
+
+ # this target requires internal Red Hat network access and will always
+ # build against the latest RHEL major compose
+ make dist-brew
+
Want to add a patch? Just apply it with ``git cherry-pick`` or ``git am``, and
re-run ``make dist-srpm``. To modify the kernel configuration, make changes in
``redhat/configs/`` (consult the repository layout for details on this).
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1913