Install distro packages before installing project

This ensures the order is similar to the one in the
requirements project building [1].

It is also clearer that we install distro packages
that could be dependencies of the python code, before
installing the python code.

This has an impact, should people want to build
layers without using the requirements image build
process AND install packages only from sources and
not from wheels, due to auditing reasons.

[1]: 06b5321eda/scripts/requirements.sh (L8-L9)

Change-Id: I9f839d8dd74057a04c8fa8b5c3180c7a5b4864fb
This commit is contained in:
Jean-Philippe Evrard 2018-08-27 15:20:29 +02:00
parent 36a1ea1047
commit 25145411ef
1 changed files with 1 additions and 1 deletions

View File

@ -86,6 +86,6 @@ if [[ ${PROJECT} == 'nova' ]]; then
$(dirname $0)/install_nova_console.sh
fi
$(dirname $0)/clone_project.sh
$(dirname $0)/pip_install.sh /tmp/${PROJECT} ${PIP_PACKAGES}
$(dirname $0)/install_packages.sh
$(dirname $0)/pip_install.sh /tmp/${PROJECT} ${PIP_PACKAGES}
$(dirname $0)/cleanup.sh