diff options
author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2018-07-26 11:00:50 +0200 |
---|---|---|
committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2018-07-26 09:21:19 +0000 |
commit | a309a1a1fc5694617dbeb0e11b7b63cfc16f77c7 (patch) | |
tree | 926d020923174be788b4ed483f3b20dd51b68ea3 /ldcg-loci | |
parent | 8589ed6ffff8a409c37c49d46eff5acc9710842c (diff) |
ldcg-loci: give patches as parameter instead of hardcoding
Change-Id: Ie17c684bfc93f8f5baafaf946669ea30dc1e6bdb
Diffstat (limited to 'ldcg-loci')
-rw-r--r-- | ldcg-loci/build.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/ldcg-loci/build.sh b/ldcg-loci/build.sh index 20ed53b8..c35cb8b4 100644 --- a/ldcg-loci/build.sh +++ b/ldcg-loci/build.sh @@ -37,11 +37,14 @@ git clone --depth 1 https://git.openstack.org/openstack/loci cd loci/ -# 583726 # bindep: install blas and lapack headers to build scipy on aarch64 -# 583727 # requirements.sh: install numpy and scipy on AArch64 +# Apply extra patches to the source code that haven't been merged yet -git pull https://git.openstack.org/openstack/loci refs/changes/26/583726/3 -git pull https://git.openstack.org/openstack/loci refs/changes/27/583727/5 +if [[ ! -z ${EXTRA_PATCHES} ]]; then + echo ${EXTRA_PATCHES} | sed -n 1'p' | tr ' ' '\n' | while read patch; do + + git pull https://git.openstack.org/openstack/loci ${patch} + done +fi # requirements needs to be built first for project in requirements cinder glance heat horizon ironic keystone neutron nova octavia |