From 7d03038f3fa3d8daefcf8cfff15afb2d86cdf47e Mon Sep 17 00:00:00 2001 From: Feng Pan Date: Fri, 22 Apr 2016 23:39:13 -0400 Subject: apex: Add dependency for python34-PyYAML for verify Change-Id: I412f57456d5dd8c34c90525f6066831351489aec Signed-off-by: Feng Pan --- jjb/apex/apex.yml | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'jjb') diff --git a/jjb/apex/apex.yml b/jjb/apex/apex.yml index 1296b5b37..26090a3a3 100644 --- a/jjb/apex/apex.yml +++ b/jjb/apex/apex.yml @@ -855,6 +855,13 @@ exit 1 fi fi + if ! rpm -q python34-PyYAML > /dev/null; then + sudo yum install -y epel-release + if ! sudo yum install -y python34-PyYAML; then + echo "Failed to install python34-PyYAML" + exit 1 + fi + fi if [ -z ${PYTHONPATH:-} ]; then export PYTHONPATH=${WORKSPACE}/lib/python else -- cgit 1.2.3-korg