summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManojkiran Eda <manojkiran.eda@gmail.com>2018-09-21 00:20:18 +0530
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-09-24 13:57:17 +0000
commit703892e2d9054f3ea2ad2de747c8c496095f6c7e (patch)
treecbbd86a33436b73a3de42b0c7f68eaf0d7d26206
parent6693995afe5658ca29e940403f9f09f7c09fddf4 (diff)
downloadsdbusplus-703892e2d9054f3ea2ad2de747c8c496095f6c7e.tar.gz
sdbusplus-703892e2d9054f3ea2ad2de747c8c496095f6c7e.zip
Installation of sdbusplus on custom distributions
The installation of sdbusplus bindings on custom distributions requires few basic packages which are not clearly mentioned in the current documentation. This commit is used to improve the documentation of the sdbusplus to include the necessary packages that are required to install it on Ubuntu and Fedora. This will help beginners in the Ubuntu/Fedora community to leverage the sdbusplus bindings for their applications outside OpenBMC space. Change-Id: I62ee774e8cf2cf9b03751496cfbb1d40858eaed9 Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
-rw-r--r--README.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/README.md b/README.md
index 878c611..d49159b 100644
--- a/README.md
+++ b/README.md
@@ -99,3 +99,27 @@ sdbus++ error markdown org.freedesktop.Example >> \
```
See the `example/Makefile.am` for more details.
+
+## Installing sdbusplus on custom distributions
+
+Installation of sdbusplus bindings on a custom distribution requires a few
+packages to be installed prior. Although these packages are the same for several
+distributions the names of these packages do differ. Below are the packages
+needed for Ubuntu and Fedora.
+
+### Installation on Ubuntu
+
+```
+sudo apt install git autoconf libtool pkg-config g++ autoconf-archive libsystemd-dev python python-yaml python-mako python-inflection
+```
+
+### Installation on Fedora
+
+```
+sudo dnf install git autoconf libtool gcc-c++ pkgconfig autoconf-archive systemd-devel python python-pip python-yaml python-mako
+```
+Install the inflection package using the pip utility (on Fedora)
+```
+pip install inflection
+```
+
OpenPOWER on IntegriCloud