From: grakiss Date: Tue, 26 Apr 2016 01:24:40 +0000 (-0400) Subject: FIX:make repo fail due to incorrect cheetah template X-Git-Tag: colorado.1.0~137 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F53%2F12653%2F3;p=compass4nfv.git FIX:make repo fail due to incorrect cheetah template JIRA:COMPASS-378 Change-Id: I7cb9243b8fe5dc6d134b2323db0d33f0abf92ed3 Signed-off-by: grakiss --- diff --git a/build/make_repo.sh b/build/make_repo.sh index 15e1f16e..ce24b971 100755 --- a/build/make_repo.sh +++ b/build/make_repo.sh @@ -193,7 +193,7 @@ function make_all_repo() dracut-config-rescue-033-241.el7_1.3 dracut-network-033-241.el7_1.3" for opv in kilo liberty; do - make_repo --os-ver rhel7 --package-tag kilo \ + make_repo --os-ver rhel7 --package-tag $opv \ --ansible-dir $WORK_PATH/deploy/adapters/ansible \ --default-package "rsyslog-7.6.7-1.el7 strace net-tools wget vim openssh-server \ dracut-config-rescue-033-241.el7_1.5 dracut-network-033-241.el7_1.5" diff --git a/build/templates/Debian_juno.tmpl b/build/templates/Debian_juno.tmpl index 4cf42975..95375693 100644 --- a/build/templates/Debian_juno.tmpl +++ b/build/templates/Debian_juno.tmpl @@ -20,6 +20,10 @@ sudo apt-get update sudo apt-get install reprepro -y +cd /var/cache/apt/ +sudo apt-get download libexpat1 +cd - + #download packages #set packages = $getVar('default_packages', []) #for pkg in $packages diff --git a/build/templates/Debian_kilo.tmpl b/build/templates/Debian_kilo.tmpl index d8efafbd..18c7fa00 100644 --- a/build/templates/Debian_kilo.tmpl +++ b/build/templates/Debian_kilo.tmpl @@ -18,6 +18,10 @@ sudo apt-get update sudo apt-get install reprepro -y +cd /var/cache/apt/ +sudo apt-get download libexpat1 +cd - + #download packages #set packages = $getVar('default_packages', []) #for pkg in $packages diff --git a/build/templates/Debian_liberty.tmpl b/build/templates/Debian_liberty.tmpl index 93bd9f3e..4bb209eb 100644 --- a/build/templates/Debian_liberty.tmpl +++ b/build/templates/Debian_liberty.tmpl @@ -21,6 +21,12 @@ sudo apt-get update sudo apt-get install reprepro -y +sudo apt-get -d install pciutils -y + +cd /var/cache/apt/ +sudo apt-get download libexpat1 +cd - + #download packages #set packages = $getVar('default_packages', []) #for pkg in $packages diff --git a/deploy/adapters/ansible/roles/common/vars/Debian.yml b/deploy/adapters/ansible/roles/common/vars/Debian.yml index 71218186..1d7972eb 100644 --- a/deploy/adapters/ansible/roles/common/vars/Debian.yml +++ b/deploy/adapters/ansible/roles/common/vars/Debian.yml @@ -9,13 +9,13 @@ --- packages: - ubuntu-cloud-keyring - #- python-dev + - python-dev - openvswitch-datapath-dkms - openvswitch-switch - python-memcache - python-iniparse - python-lxml - - python-d* #TODO, need remove + #- python-d* #TODO, need remove pip_packages: - crudini