summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-08 17:11:15 -0400
committerGitHub <noreply@github.com>2020-10-08 17:11:15 -0400
commitc61faacc78e916fdfa9f53bb543514e11138903c (patch)
tree0b7704251f7f2a2dff8550adf4f74a613ecc9529
parent1b90cb95c53be81fddbdd652761e030ed7599e3e (diff)
parente01eb92672d7c0c675a1384018529912e08a2c69 (diff)
downloadpodman-c61faacc78e916fdfa9f53bb543514e11138903c.tar.gz
podman-c61faacc78e916fdfa9f53bb543514e11138903c.tar.bz2
podman-c61faacc78e916fdfa9f53bb543514e11138903c.zip
Merge pull request #7936 from 3sky/add-prerequisite-to-doc
add prerequisite section before building binaries
-rw-r--r--CONTRIBUTING.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index ba321921c..a813fcc35 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -46,7 +46,7 @@ This section describes how to start a contribution to Podman.
### Prepare your environment
-Read the [install documentation to see how to install dependencies](install.md) .
+Read the [install documentation to see how to install dependencies](https://podman.io/getting-started/installation#build-and-run-dependencies).
The install documentation will illustrate the following steps:
- install libs and tools
@@ -86,6 +86,17 @@ Makefile allow you to install needed tools:
$ make install.tools
```
+### Prerequisite before build
+
+You need install some dependencies before building a binary.
+
+#### Fedora
+
+ ```shell
+ $ sudo dnf install gpgme-devel libseccomp-devel.x86_64 libseccomp-devel.x86_64 systemd-devel
+ $ export PKG_CONFIG_PATH="/usr/lib/pkgconfig"
+ ```
+
### Building binaries and test your changes
To test your changes do `make binaries` to generate your binaries.