Install git with source-repositories element.

Git isn't a dependency of this element, but is a dependency of pbr
if you are doing pip install on a git cloned directoy, because this
looks to be a fairly common pattern it makes sense to have git on the
target image.

Change-Id: I49ee3fa4eac493b9dfa379a674ab9b3390cfc89a
This commit is contained in:
Derek Higgins 2013-06-20 14:14:13 +01:00
parent 866c55dced
commit f527b024b9

View File

@ -0,0 +1,10 @@
#!/bin/sh
set -uex
# Git isn't a dependency of this element, but is a dependency of pbr
# if you are doing pip install on a git cloned directoy, because this
# looks to be a fairly common pattern it makes sense to have git on the
# target image
install-packages git