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:
parent
866c55dced
commit
f527b024b9
10
elements/source-repositories/install.d/01-source-repositories
Executable file
10
elements/source-repositories/install.d/01-source-repositories
Executable 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
|
||||
|
Loading…
Reference in New Issue
Block a user