[OS-BUILD PATCHv5 4/5] redhat/docs: Add information on build dependencies

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

 



From: Prarit Bhargava <prarit@xxxxxxxxxx>

redhat/docs: Add information on build dependencies

Add a section on build dependencies.

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
@@ -65,6 +65,26 @@ os-build branch that can be used if the os-build branch does not compile due to
 upstream bugs.  However, the os-build branch must be used as a Merge Request
 target for all Fedora/ARK specific changes.
 
+Build Dependencies
+------------------
+
+kernel-ark has a long list of BuildRequires that are specified in the
+kernel.spec file.  Built-in rpm commands like 'yum builddep' will not
+work on all OSes (`see BZ 2103214`_),
+and 'yum deplist' which requires the configuration and enabling of a source
+repository.  As a result a 'dist-get-buildreqs' target has been added that will
+provide a list of missing dependencies.  This list can be consumed by other
+commands to install missing packages:
+
+.. code-block:: sh
+
+   # install missing build dependencies
+   yum -y install $(make dist-get-buildreqs | grep "Missing dependencies:" | cut -d":" -f2)
+
+Some packages may require the enabling of additional repositories such as the
+system-sb-certs package which can be found in a Centos-Stream or RHEL CodeReady
+Linux Builder (CRB) repository.
+
 Local builds
 ------------
 
@@ -129,6 +149,7 @@ Maintainer Guide
 .. _register your SSH key: https://gitlab.com/-/profile/keys
 .. _Koji: https://docs.fedoraproject.org/en-US/package-maintainers/Using_the_Koji_Build_System/
 .. _Mock: https://fedoraproject.org/wiki/Using_Mock_to_test_package_builds#How_do_I_set_up_Mock.3F
+.. _see BZ 2103214: https://bugzilla.redhat.com/2103214
 
 
 Indices and tables

--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1900
_______________________________________________
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 on the list, report it: https://pagure.io/fedora-infrastructure




[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