diff options
author | Harry Huang <huangxiangyu5@huawei.com> | 2017-06-29 11:36:44 +0800 |
---|---|---|
committer | Harry Huang <huangxiangyu5@huawei.com> | 2017-06-29 11:36:44 +0800 |
commit | f0e6a736f8cc1f98e5f067b4e433f5af594e7c48 (patch) | |
tree | bf39c6544f53039c6f791d6a3981a05e317aafd7 /build.sh | |
parent | 7107ed60659e23863ffcd227600bf741489f24d8 (diff) |
Fix python pkg issue
1 add install pyyaml in build process
2 fix python pkg version
Change-Id: Icb40bd52aa6cd22874894047561acb9211abfa22
Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -17,7 +17,7 @@ echo $COMPASS_PATH REDHAT_REL=${REDHAT_REL:-"false"} -PACKAGES="curl" +PACKAGES="curl python-pip" mkdir -p $WORK_DIR $CACHE_DIR @@ -65,10 +65,12 @@ function prepare_env() if ! apt --installed list 2>/dev/null |grep "\<$i\>" then sudo apt-get install -y --force-yes $i + sudo pip install pyyaml fi fi if [[ $REDHAT_REL == true ]]; then sudo yum install $i -y + sudo pip install pyyaml fi done set -e |