diff --git a/README.md b/README.md index 4c08a6b..3c8fff6 100644 --- a/README.md +++ b/README.md @@ -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: diff --git a/lib/core.sh b/lib/core.sh index 8a6b581..8a4cee0 100644 --- a/lib/core.sh +++ b/lib/core.sh @@ -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