summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Wereski <m.wereski@partner.samsung.com>2017-10-23 13:49:08 +0200
committerMaciej Wereski <m.wereski@partner.samsung.com>2017-10-23 13:49:08 +0200
commit644cf1d51d545077aaacb4e3aba8b9fad33a1eca (patch)
tree830401ab30269ad38ae479c7efbb26dd75868f9c
parentd1713dbf3409ab1b36d1b65348eb9410e17e600b (diff)
downloadmeta-644cf1d51d545077aaacb4e3aba8b9fad33a1eca.tar.gz
meta-644cf1d51d545077aaacb4e3aba8b9fad33a1eca.tar.bz2
meta-644cf1d51d545077aaacb4e3aba8b9fad33a1eca.zip
Change-Id: Ie249378dc5f101d0e600568b4c393be03066595b Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
-rw-r--r--common.yaml10
-rw-r--r--patterns/common-packaging.yaml5
-rw-r--r--scripts/common-packaging.post49
3 files changed, 0 insertions, 64 deletions
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
-