[OS-BUILD PATCH] redhat/docs: Add dist-brew BUILD_FLAGS information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Prarit Bhargava <prarit@xxxxxxxxxx>

redhat/docs: Add dist-brew BUILD_FLAGS information

Add information about how to set brew options using the BUILD_FLAGS
variable.

Suggested-by: Chris von Recklinghausen <crecklin@xxxxxxxxxx>
Signed-off-by: Prarit Bhargava <prarit@xxxxxxxxxx>

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
@@ -124,6 +124,14 @@ or
    # build against the latest RHEL major compose
    make dist-brew
 
+The dist-brew target can be used with the BUILD_FLAGS variable to specify specific architectures.  For example, to only build the x86_64 and noarch architectures,
+
+.. code-block:: sh
+
+   # this target requires internal Red Hat network access and will always
+   # build against the latest RHEL major compose
+   make dist-brew BUILD_FLAGS="--arch-override=x86_64,noarch"
+
 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/1988
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux