blob: 1aade3d5cd63f9bbdb8be45845689424f37ca0d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/sh
echo "############### common-packaging.post ################"
# generate repo files for zypper
function genrepo() {
local reponame=$1
local url=$2
cat >> /etc/zypp/repos.d/${reponame}.repo << EOF
[${reponame}]
name=${reponame}
enabled=1
autorefresh=0
baseurl=
baseurl=${url}?ssl_verify=no
type=rpm-md
gpgcheck=0
EOF
}
arch=ia32
[ -d /usr/lib64 ] && arch=x86_64
# quick fix for TC-1198
# will not work for emulator32
genrepo common-wayland-${arch} http://download.tizen.org/snapshots/tizen/common/@BUILD_ID@/repos/${arch}-wayland/packages/
|