Add git check during the build image

This commit is contained in:
Filippo Squillace 2014-11-12 16:59:54 +01:00
parent c66d27873e
commit fb2bd49232
2 changed files with 2 additions and 1 deletions

View file

@ -58,7 +58,7 @@ You can build a new JuJu image from scratch by running the following command:
In this way the script will create a directory containing all the essentials
files to make JuJu working properly (such as pacman, yaourt, arch-chroot and proot).
Remember that the script to build the image must run in an ArchLinux OS with
arch-install-scripts, package-query and the base-devel packages installed.
arch-install-scripts, package-query, git and the base-devel packages installed.
To change the build directory just use the *JUJU_TMPDIR* (by default /tmp).
To install the image named juju-x86\_64.tar.gz:

View file

@ -209,6 +209,7 @@ function build_image_juju(){
_check_package arch-install-scripts
_check_package gcc
_check_package package-query
_check_package git
local maindir=$(TMPDIR=$JUJU_TEMPDIR mktemp -d -t juju.XXXXXXXXXX)
mkdir -p ${maindir}/root
prepare_build_directory