From 644cf1d51d545077aaacb4e3aba8b9fad33a1eca Mon Sep 17 00:00:00 2001 From: Maciej Wereski Date: Mon, 23 Oct 2017 13:49:08 +0200 Subject: [PATCH] [TRE-1726][TRE-1727] Remove gpg2 and zypper Change-Id: Ie249378dc5f101d0e600568b4c393be03066595b Signed-off-by: Maciej Wereski --- common.yaml | 10 --------- patterns/common-packaging.yaml | 5 ----- scripts/common-packaging.post | 49 ------------------------------------------ 3 files changed, 64 deletions(-) delete mode 100644 patterns/common-packaging.yaml delete mode 100644 scripts/common-packaging.post diff --git a/common.yaml b/common.yaml index bd504a0..9590a07 100644 --- a/common.yaml +++ b/common.yaml @@ -97,8 +97,6 @@ Wayland: - Common Base - Generic Console Tools - Common Console Tools - - Generic Packaging - - Common Packaging - Generic Wayland - Common Wayland - Generic Middleware @@ -125,8 +123,6 @@ Wayland: - generic-base - common-base - generic-console-tools - - generic-packaging - - common-packaging - generic-wayland - common-wayland - generic-middleware @@ -151,7 +147,6 @@ RPi3: - Common Base - Generic Console Tools - Common Console Tools - - Generic Packaging - Generic Wayland - Common Wayland - Generic Middleware @@ -177,8 +172,6 @@ RPi3: - generic-base - common-base - generic-console-tools - - generic-packaging - - common-packaging - generic-wayland - common-wayland - generic-middleware @@ -203,7 +196,6 @@ RPi3 Headless: - generic-base - common-base - generic-console-tools - - common-packaging - generic-adaptation - generic-middleware - generic-applications @@ -229,7 +221,6 @@ RPi3 Docker: - generic-base - common-base - generic-console-tools - - common-packaging - generic-adaptation - generic-middleware - generic-applications @@ -256,7 +247,6 @@ Artik530_710 Headless: - generic-base - common-base - generic-console-tools - - common-packaging - generic-adaptation - generic-middleware - generic-applications diff --git a/patterns/common-packaging.yaml b/patterns/common-packaging.yaml deleted file mode 100644 index 6aa6a51..0000000 --- a/patterns/common-packaging.yaml +++ /dev/null @@ -1,5 +0,0 @@ -Summary: Common Packaging -Description: Common Packaging -Name: common-packaging -Packages: [] - diff --git a/scripts/common-packaging.post b/scripts/common-packaging.post deleted file mode 100644 index 11943b1..0000000 --- a/scripts/common-packaging.post +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/sh -echo "############### common-packaging.post ################" - -# generate repo files for zypper -function genrepo() { - local url=$1 - local reponame=$2 - local filename=${3:-$2} - local enabled=${4:-0} - - local prefix=${TZ_BUILD_VENDOR}-${TZ_BUILD_PROFILE}-${TZ_BUILD_REPO} - - # remove double slashes if any - url=$(sed -e 's|/\+|/|g' -e 's|:/|://|' <<<$url) - - cat >> /etc/zypp/repos.d/$prefix-${filename}.repo << EOF -[$prefix-${reponame}] -name=$prefix-${reponame} -enabled=$enabled -autorefresh=0 -baseurl=${url}?ssl_verify=no -type=rpm-md -gpgcheck=0 - -EOF -} - -# source /etc/tizen-build.conf to get more infos about project, repos etc. -. /etc/tizen-build.conf - -# adjust build_id if this scripts executes before the replacement in /etc/tizen-build.conf -TZ_BUILD_ID=$(echo $TZ_BUILD_ID | sed 's|@BUILD_ID[@]|@BUILD_ID@|') - -# snapshot repo -genrepo ${TZ_BUILD_SNAPSHOT_URL}/${TZ_BUILD_ID}/repos/${TZ_BUILD_REPO}/packages snapshot snapshot 1 -genrepo ${TZ_BUILD_SNAPSHOT_URL}/${TZ_BUILD_ID}/repos/${TZ_BUILD_REPO}/debug snapshot-debug snapshot 1 - -# latest repo -genrepo ${TZ_BUILD_SNAPSHOT_URL}/latest/repos/${TZ_BUILD_REPO}/packages update update 0 -genrepo ${TZ_BUILD_SNAPSHOT_URL}/latest/repos/${TZ_BUILD_REPO}/debug update-debug update 0 - -# daily repo -genrepo ${TZ_BUILD_DAILY_URL}/latest/repos/${TZ_BUILD_REPO}/packages daily daily 0 -genrepo ${TZ_BUILD_DAILY_URL}/latest/repos/${TZ_BUILD_REPO}/debug daily-debug daily 0 - -# weekly repo -genrepo ${TZ_BUILD_WEEKLY_URL}/latest/repos/${TZ_BUILD_REPO}/packages weekly weekly 0 -genrepo ${TZ_BUILD_WEEKLY_URL}/latest/repos/${TZ_BUILD_REPO}/debug weekly-debug weekly 0 - -- 2.7.4