summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author3sky <3sky@protonmail.com>2020-10-06 11:55:15 +0200
committer3sky <3sky@protonmail.com>2020-10-07 21:57:47 +0200
commite01eb92672d7c0c675a1384018529912e08a2c69 (patch)
tree2e3b02e8129fb9077f866d07c63aa6a788e90e98
parent80a2317ca20b0e5e1cd064a8962beed642be3a36 (diff)
downloadpodman-e01eb92672d7c0c675a1384018529912e08a2c69.tar.gz
podman-e01eb92672d7c0c675a1384018529912e08a2c69.tar.bz2
podman-e01eb92672d7c0c675a1384018529912e08a2c69.zip
add prerequisite section before building binaries
Signed-off-by: 3sky <3sky@protonmail.com>
-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.