diff options
author | 2017-01-14 11:16:38 +0800 | |
---|---|---|
committer | 2017-01-14 11:19:47 +0800 | |
commit | 1da2cee07a11d5dd7b83ab0437807fc239929f1c (patch) | |
tree | a7fd1c261124bfdecbd97b6810a7aedf6f92568a /repo/openstack/make_ppa/ubuntu/trusty/juno/download_pkg.tmpl | |
parent | 2a50e36dfa46b9353840170665fb8a891b18228d (diff) |
Remove some duplicate or useless files
JIRA: -
Remove some templates because it is duplicated.
Remove some repo files because master support newton only.
Change-Id: I6651191c6edb2ef6ab5da109922a889a8cd58a78
Signed-off-by: liyuenan <liyuenan@huawei.com>
Diffstat (limited to 'repo/openstack/make_ppa/ubuntu/trusty/juno/download_pkg.tmpl')
-rw-r--r-- | repo/openstack/make_ppa/ubuntu/trusty/juno/download_pkg.tmpl | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/repo/openstack/make_ppa/ubuntu/trusty/juno/download_pkg.tmpl b/repo/openstack/make_ppa/ubuntu/trusty/juno/download_pkg.tmpl deleted file mode 100644 index 95375693..00000000 --- a/repo/openstack/make_ppa/ubuntu/trusty/juno/download_pkg.tmpl +++ /dev/null @@ -1,50 +0,0 @@ -#!/bin/bash -set -ex - -#set OPV="juno" - -sudo apt-get update && apt-get install -y software-properties-common -sudo add-apt-repository -y cloud-archive:$OPV - -# add galeracluster repo -#sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db -#sudo add-apt-repository 'deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/ubuntu trusty main' -sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 D669017EBC19DDBA -sudo add-apt-repository 'deb http://releases.galeracluster.com/ubuntu trusty main' -# add oracle java8 ppa -sudo add-apt-repository ppa:webupd8team/java -# add open java7 repo -sudo add-apt-repository 'deb http://security.ubuntu.com/ubuntu trusty-security main' - -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 -sudo apt-get -d install $pkg -y -#end for -#set packages = $getVar('packages', []) -#for pkg in $packages -sudo apt-get -d install $pkg -y -#end for - -#make repo -mkdir -p trusty-$OPV-ppa/conf -cat <<EOF > trusty-$OPV-ppa/conf/distributions -Codename: trusty -Components: main -Architectures: amd64 -EOF - -mkdir deb -find /var/cache/apt/ -name *.deb | xargs -i cp {} deb - -reprepro -b trusty-$OPV-ppa includedeb trusty deb/*.deb - -tar -zcvf /trusty-$OPV-ppa.tar.gz ./trusty-$OPV-ppa |