From 41ee16d829ecbe64e31b4eb9adaf894b4cf79c7a Mon Sep 17 00:00:00 2001 From: Joonsub Lee Date: Wed, 23 Dec 2015 20:20:24 +0900 Subject: [PATCH] [TINF-1190] Adjust package group and post script Change-Id: I9cf4a7b8c84fd5b16c9008204a14fe0e0e3c9109 Signed-off-by: Joonsub Lee --- scripts/tv-packaging.post | 46 ---------------------------------------------- tv.yaml | 4 ---- 2 files changed, 50 deletions(-) diff --git a/scripts/tv-packaging.post b/scripts/tv-packaging.post index 6fd28a5..59a5a0e 100644 --- a/scripts/tv-packaging.post +++ b/scripts/tv-packaging.post @@ -1,49 +1,3 @@ #!/bin/sh echo "############### tv-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 - diff --git a/tv.yaml b/tv.yaml index 39db8cc..f8b5288 100644 --- a/tv.yaml +++ b/tv.yaml @@ -43,10 +43,8 @@ Wayland: - Generic Base - TV Base - Generic Console Tools - - Generic Packaging - Generic Adaptation - TV Adaptation - - Generic Wayland - TV Wayland - TV Middleware - Generic Applications @@ -89,10 +87,8 @@ Emulator-wayland: - Generic Base - TV Base - Generic Console Tools - - Generic Packaging - Generic Adaptation - TV Adaptation - - Generic Wayland - TV Wayland - TV Middleware - Generic Applications -- 2.7.4