From f527b024b95ebdf931dfc98c3369db4fc64d0386 Mon Sep 17 00:00:00 2001 From: Derek Higgins Date: Thu, 20 Jun 2013 14:14:13 +0100 Subject: [PATCH] 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 --- .../install.d/01-source-repositories | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 elements/source-repositories/install.d/01-source-repositories diff --git a/elements/source-repositories/install.d/01-source-repositories b/elements/source-repositories/install.d/01-source-repositories new file mode 100755 index 00000000..1f9740a8 --- /dev/null +++ b/elements/source-repositories/install.d/01-source-repositories @@ -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 +