Provide instructions on how to build from non-default
git repositories and branches.
Signed-off-by: Andrea Bolognani <abologna(a)redhat.com>
---
guests/README.markdown | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/guests/README.markdown b/guests/README.markdown
index 68a6af7..f5d1219 100644
--- a/guests/README.markdown
+++ b/guests/README.markdown
@@ -49,11 +49,17 @@ library and, where supported, as a Windows library using MinGW.
Once hosts have been prepared following the steps above, you can use
`lcitool` to perform builds as well: for example, running
- lcitool -a build -h '*debian*' -p libvirt-python
+ lcitool -a build -h '*debian*' -p libvirt-python -r upstream/master
will fetch libvirt-python's `master` branch from the upstream repository
and build it on all Debian hosts.
+You can add more git repositories by tweaking the `git_urls` dictionary
+defined in `playbooks/build/jobs/defaults.yml` and then build arbitrary
+branches out of those with
+
+ lcitool -a build -h all -p libvirt -r github/cool-feature
+
Host setup
----------
--
2.17.1