From 2e8b51173b5c85ae2a5f19d803db0b7390fc2819 Mon Sep 17 00:00:00 2001 From: grakiss Date: Mon, 25 Apr 2016 21:24:40 -0400 Subject: FIX:make repo fail due to incorrect cheetah template JIRA:COMPASS-378 Change-Id: I7cb9243b8fe5dc6d134b2323db0d33f0abf92ed3 Signed-off-by: grakiss --- build/make_repo.sh | 2 +- build/templates/Debian_juno.tmpl | 4 ++++ build/templates/Debian_kilo.tmpl | 4 ++++ build/templates/Debian_liberty.tmpl | 6 ++++++ 4 files changed, 15 insertions(+), 1 deletion(-) (limited to 'build') 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 -- cgit 1.2.3-korg