diff options
author | cookie <cookie@samsung.com> | 2017-06-30 07:08:13 +0000 |
---|---|---|
committer | cookie <cookie@samsung.com> | 2017-06-30 07:56:32 +0000 |
commit | 150dad84a331144ed95200fe8d16f6ea739dffec (patch) | |
tree | c9d5efd639b5277bcbd3f708b02a2bfd4f712795 | |
parent | 8de306895850147fafd596bc0fd613d49798ba00 (diff) | |
download | browser-provider-150dad84a331144ed95200fe8d16f6ea739dffec.tar.gz browser-provider-150dad84a331144ed95200fe8d16f6ea739dffec.tar.bz2 browser-provider-150dad84a331144ed95200fe8d16f6ea739dffec.zip |
Upgrade script numberingsubmit/tizen_4.0/20170828.100004submit/tizen_4.0/20170811.094300submit/tizen/20170705.015503accepted/tizen/unified/20170706.193040accepted/tizen/4.0/unified/20170829.015955accepted/tizen/4.0/unified/20170816.012309
Change-Id: I07498470f8d6efca84f7f7985a39021d4e5b7385
Signed-off-by: cookie <cookie@samsung.com>
-rwxr-xr-x | .gbs.conf | 378 | ||||
-rwxr-xr-x | 500.browser-provider_upgrade.sh | 27 | ||||
-rwxr-xr-x | packaging/browser-provider.spec | 6 |
3 files changed, 408 insertions, 3 deletions
diff --git a/.gbs.conf b/.gbs.conf new file mode 100755 index 0000000..28e2790 --- /dev/null +++ b/.gbs.conf @@ -0,0 +1,378 @@ +############################################### +# +# Tizen v4.0 +# +[obs.tizen_v4.0] +url = https://api.tizen.org + +############################################### +# +# Tizen v4.0 for unified +# +[repo.tz_v4.0_standard] +url = http://download.tizen.org/snapshots/tizen/unified/latest/repos/standard/packages/ + +[repo.tz_v4.0_emulator] +url = http://download.tizen.org/snapshots/tizen/unified/latest/repos/emulator/packages/ + +############################################### +# +# Tizen v4.0 for standard (armv7l) : gbs -c .gbs.conf build -P profile.tz_armv7l_v4.0_standard -A armv7l --include-all +# + +[profile.tz_armv7l_v4.0_standard] +obs = obs.tizen_v4.0 +repos = repo.public_4.0_base_arm, repo.tz_v4.0_standard +buildroot = ~/GBS-ROOT-TV-ARM-WAYLAND + +[repo.public_4.0_base_arm] +url = http://download.tizen.org/snapshots/tizen/base/latest/repos/arm/packages/ + +############################################### +# +# Tizen v4.0 for standard (aarch64) : gbs -c .gbs.conf build -P profile.tz_aarch64_v4.0_standard -A aarch64 --include-all +# +[profile.tz_aarch64_v4.0_standard] +obs = obs.tizen_v4.0 +repos = repo.public_4.0_base_arm64, repo.tz_v4.0_standard +buildroot = ~/GBS-ROOT-TV-ARM-WAYLAND + +[repo.public_4.0_base_arm64] +url = http://download.tizen.org/snapshots/tizen/base/latest/repos/arm64/packages/ + +############################################### +# +# Tizen v4.0 for standard (xi86) +# +[profile.tz_ia32_v4.0_standard] +obs = obs.tizen_v4.0 +repos = repo.public_4.0_base_ia32, repo.tz_v4.0_standard +buildroot = ~/GBS-ROOT-TV-ARM-WAYLAND + +[repo.public_4.0_base_ia32] +url = http://download.tizen.org/snapshots/tizen/base/latest/repos/ia32/packages/ + +############################################### +# +# Tizen v4.0 for standard (x86_64) +# +[profile.tz_x86_64_v4.0_standard] +obs = obs.tizen_v4.0 +repos = repo.public_4.0_base_x86_64, repo.tz_v4.0_standard +buildroot = ~/GBS-ROOT-TV-ARM-WAYLAND + +[repo.public_4.0_base_x86_64] +url = http://download.tizen.org/snapshots/tizen/base/latest/repos/x86_64/packages/ + +############################################### +# +# Tizen v4.0 for emulator (xi86) +# +[profile.tz_ia32_v4.0_emulator] +obs = obs.tizen_v4.0 +repos = repo.public_4.0_base_ia32, repo.tz_v4.0_emulator +buildroot = ~/GBS-ROOT-TV-ARM-WAYLAND + +[repo.public_4.0_base_ia32] +url = http://download.tizen.org/snapshots/tizen/base/latest/repos/ia32/packages/ + +############################################### +# +# Tizen v4.0 for emulator (x86_64) : gbs -c .gbs.conf build -P profile.tz_x86_64_v4.0_emulator -A x86_64 --include-all +# +[profile.tz_x86_64_v4.0_emulator] +obs = obs.tizen_v4.0 +repos = repo.public_4.0_base_x86_64, repo.tz_v4.0_emulator +buildroot = ~/GBS-ROOT-TV-ARM-WAYLAND + +[repo.public_4.0_base_x86_64] +url = http://download.tizen.org/snapshots/tizen/base/latest/repos/x86_64/packages/ + +############################################### + + + +############################################### +# For 3. 0 # +############################################### + +############################################### +# +# Tizen v3.0 for TV (arm-x11) +# + +[obs.tizen_v3.0] +url = https://api.tizen.org + +[profile.tztv_v3.0] +obs = obs.tizen_v3.0 +repos = repo.tv_arm-x11 +buildroot = ~/GBS-ROOT-3.0-TV + +[repo.tv_arm-x11] +url = http://download.tizen.org/snapshots/tizen/tv/latest/repos/arm-x11/packages/ + +############################################### +# +# Tizen v3.0 for tv (emulator32-x11) +# + +[profile.tztv_v3.0_emulator] +obs = obs.tizen_v3.0 +repos = repo.tztv_v3.0_emul +buildroot = ~/GBS-ROOT-3.0-TV-EMUL + +[repo.tztv_v3.0_emul] +url = http://download.tizen.org/snapshots/tizen/tv/latest/repos/emulator32-x11/packages/ + +############################################### +# +# Tizen v3.0 for tv (arm64-x11) +# + +[profile.tztv_v3.0_arm64-x11] +obs = obs.tizen_v3.0 +repos = repo.tztv_v3.0_arm64-x11 +buildroot = ~/GBS-ROOT-3.0-TV-arm64-x11 + +[repo.tztv_v3.0_arm64-x11] +url = http://download.tizen.org/snapshots/tizen/tv/latest/repos/arm64-x11/packages/ + +############################################### +# +# Tizen v3.0 for tv (ia32-x11) +# + +[profile.tztv_v3.0_ia32-x11] +obs = obs.tizen_v3.0 +repos = repo.tztv_v3.0_ia32-x11 +buildroot = ~/GBS-ROOT-3.0-TV-ia32-x11 + +[repo.tztv_v3.0_ia32-x11] +url = http://download.tizen.org/snapshots/tizen/tv/latest/repos/ia32-x11/packages/ + +############################################### +# +# Tizen v3.0 for tv (ia32-wayland) +# + +[profile.tztv_v3.0_ia32-wayland] +obs = obs.tizen_v3.0 +repos = repo.tztv_v3.0_ia32-wayland +buildroot = ~/GBS-ROOT-3.0-TV-ia32-wayland + +[repo.tztv_v3.0_ia32-wayland] +url = http://download.tizen.org/snapshots/tizen/tv/latest/repos/ia32-wayland/packages/ + +############################################### +# +# Tizen v3.0 for tv (x86_64-x11) +# + +[profile.tztv_v3.0_x86_64-x11] +obs = obs.tizen_v3.0 +repos = repo.tztv_v3.0_x86_64-x11 +buildroot = ~/GBS-ROOT-3.0-TV-x86_64-x11 + +[repo.tztv_v3.0_x86_64-x11] +url = http://download.tizen.org/snapshots/tizen/tv/latest/repos/x86_64-x11/packages/ + + +############################################### +# +# Tizen v3.0 for tv (x86_64-wayland) +# + +[profile.tztv_v3.0_x86_64-wayland] +obs = obs.tizen_v3.0 +repos = repo.tztv_v3.0_x86_64-wayland +buildroot = ~/GBS-ROOT-3.0-TV-x86_64-wayland + +[repo.tztv_v3.0_x86_64-wayland] +url = http://download.tizen.org/snapshots/tizen/tv/latest/repos/x86_64-wayland/packages/ + +############################################### +# +# Tizen v3.0 for tv (HawkP) +# + +[obs.spin] +url = http://168.219.209.58:81 + +[profile.tztv_v3.0_arm-wayland_h] +obs = obs.spin +repos = repo.spin_3.0_base_arm,repo.spin_3.0_tv_hawkp + +[repo.spin_3.0_base_arm] +url = http://10.113.136.32/download/snapshots/tizen/base/latest/repos/arm/packages/ +user = blinkbot +passwdx = QlpoOTFBWSZTWd0JOhUAAACBAABgIAAhAIIjF3JFOFCQ3Qk6FQ== + + +[repo.spin_3.0_tv_hawkp] +url = http://10.113.136.32/download/snapshots/tizen/3.0-tv/latest/repos/target/packages/ +user = blinkbot +passwdx = QlpoOTFBWSZTWd0JOhUAAACBAABgIAAhAIIjF3JFOFCQ3Qk6FQ== + + + +############################################### +# +# Tizen v3.0 for TV (arm-wayland) +# + +[profile.tztv_v3.0-wayland] +obs = obs.tizen_v3.0 +repos = repo.public_3.0_base_arm,repo.tv_arm-wayland +buildroot = ~/GBS-ROOT-3.0-TV-wayland + +[repo.public_3.0_base_arm] +url = http://download.tizen.org/snapshots/tizen/base/latest/repos/arm/packages/ + +[repo.tv_arm-wayland] +url = http://download.tizen.org/snapshots/tizen/tv/latest/repos/arm-wayland/packages/ + +############################################### +# +# Tizen v3.0 for tv (arm-wayland), Mirroring Server for HQ developers +# +[profile.tztv_v3.0-wayland_mirror] +obs = obs.tizen_v3.0 +repos = repo.public_3.0_base_arm_mirror, repo.tztv_v3.0-wayland_mirror +buildroot = ~/GBS-ROOT-3.0-TV-wayland + +user = blinkbot +passwdx = QlpoOTFBWSZTWd0JOhUAAACBAABgIAAhAIIjF3JFOFCQ3Qk6FQ== + +[repo.public_3.0_base_arm_mirror] +url = http://165.213.149.200/download/public_mirror/tizen/base/latest/repos/arm/packages/ + +[repo.tztv_v3.0-wayland_mirror] +url = http://165.213.149.200/download/public_mirror/tizen/tv/latest/repos/arm-wayland/packages/ + +############################################### +# +# Tizen v3.0 for tv (emulator32-wayland) +# + +[profile.tztv_v3.0_emulator-wayland] +obs = obs.tizen_v3.0 +repos = repo.public_3.0_base_emulator32,repo.tztv_v3.0_emul-wayland +buildroot = ~/GBS-ROOT-3.0-TV-EMUL-wayland + +[repo.public_3.0_base_emulator32] +url = http://download.tizen.org/snapshots/tizen/base/latest/repos/emulator32/packages/ + +[repo.tztv_v3.0_emul-wayland] +url = http://download.tizen.org/snapshots/tizen/tv/latest/repos/emulator32-wayland/packages/ + +############################################### +# +# Tizen v3.0 for tv (arm64-wayland) +# + +[profile.tztv_v3.0_arm64-wayland] +obs =obs.tizen_v3.0 +repos = repo.tztv_v3.0_arm64-wayland +buildroot = ~/GBS-ROOT-3.0-TV-arm64-wayland + +[repo.tztv_v3.0_arm64-wayland] +url = http://download.tizen.org/snapshots/tizen/tv/latest/repos/arm64-wayland/packages/ + +############################################### +# For Mobile # +############################################### + +############################################### +# +# Tizen v3.0 for mobile (arm-wayland) +# +[obs.tizen_v3.0] +url = https://api.tizen.org + +[profile.tzmo_v3.0_arm-wayland] +obs = obs.tizen_v3.0 +repos = repo.public_3.0_base_arm,repo.tzmo_v3.0_arm-wayland +buildroot = ~/GBS-ROOT-3.0-MOBILE-arm-wayland + +[repo.public_3.0_base_arm] +url = http://download.tizen.org/snapshots/tizen/3.0-base/latest/repos/arm/packages/ + +[repo.tzmo_v3.0_arm-wayland] +url = http://download.tizen.org/snapshots/tizen/3.0-mobile/latest/repos/arm-wayland/packages/ + + +############################################### +# +# Tizen v4.0 for mobile (arm-wayland), Mirroring Server for HQ developers +# + +[profile.tzmo_v4.0_arm-wayland_mirror] +obs = obs.tizen_v3.0 +repos = repo.public_4.0_base_arm_mirror, repo.tzm0_v4.0_arm-wayland_mirror +buildroot = ~/GBS-ROOT-4.0-MOBILE-arm-wayland +user = blinkbot +passwdx = QlpoOTFBWSZTWd0JOhUAAACBAABgIAAhAIIjF3JFOFCQ3Qk6FQ== + +[repo.public_4.0_base_arm_mirror] +url =http://165.213.149.200/download/public_mirror/tizen/base/latest/repos/arm/packages/ + +[repo.tzm0_v4.0_arm-wayland_mirror] +url = http://165.213.149.200/download/public_mirror/tizen/mobile/latest/repos/target-TM1/packages/ + + + +############################################### +# +# Tizen v3.0 for mobile (emulator-wayland) +# +[profile.tzmo_v3.0_emulator-wayland] +obs = obs.tizen_v3.0 +repos = repo.public_3.0_base_emulator32, repo.tzmo_v3.0_emul-wayland +buildroot = ~/GBS-ROOT-3.0-MOBILE-EMUL-WAYLAND + +[repo.public_3.0_base_emulator32] +url = http://download.tizen.org/snapshots/tizen/base/latest/repos/emulator32/packages/ + +[repo.tzmo_v3.0_emul-wayland] +url = http://download.tizen.org/snapshots/tizen/mobile/latest/repos/emulator32-wayland/packages/ + + +############################################### +# +# Tizen v3.0 for mobile (arm64-wayland) +# +[obs.tizen_v3.0] +url = https://api.tizen.org + +[profile.tzmo_v3.0_arm64-wayland] +obs = obs.tizen_v3.0 +repos = repo.public_3.0_base_arm64,repo.tzmo_v3.0_arm64-wayland +buildroot = ~/GBS-ROOT-3.0-MOBILE-arm64-wayland + +[repo.public_3.0_base_arm64] +url = http://download.tizen.org/snapshots/tizen/base/latest/repos/arm64/packages/ + +[repo.tzmo_v3.0_arm64-wayland] +url = http://download.tizen.org/snapshots/tizen/mobile/latest/repos/arm64-wayland/packages/ + +############################################### +# +# Tizen v4.0 for common (armv7l), Mirroring Server for HQ developers +# +[profile.tzcommon_v4.0_arm-wayland_mirror] +obs = obs.tizen_v3.0 +repos = repo.public_4.0_base_arm_mirror, repo.tzcommon_v4.0_arm-wayland_mirror +buildroot = ~/GBS-ROOT-COMMON + +[repo.public_4.0_base_arm_mirror] +url = http://165.213.149.200/download/public_mirror/tizen/base/latest/repos/arm/packages/ +user = blinkbot +passwdx = QlpoOTFBWSZTWd0JOhUAAACBAABgIAAhAIIjF3JFOFCQ3Qk6FQ== + +[repo.tzcommon_v4.0_arm-wayland_mirror] +url = http://165.213.149.200/download/public_mirror/tizen/common/latest/repos/arm-wayland/packages/ +user = blinkbot +passwdx = QlpoOTFBWSZTWd0JOhUAAACBAABgIAAhAIIjF3JFOFCQ3Qk6FQ== + + diff --git a/500.browser-provider_upgrade.sh b/500.browser-provider_upgrade.sh new file mode 100755 index 0000000..fb550b0 --- /dev/null +++ b/500.browser-provider_upgrade.sh @@ -0,0 +1,27 @@ +#!/bin/sh +PATH=/bin:/usr/bin:/sbin:/usr/sbin + +#-----------------------------------------------# +# browser-provider patch for upgrade (3.0 -> 4.0) # +#-------------------------------------------------# + +# Macro +SOCK_DIR_24=/opt/data/browser-provider +SCRAPS_DIR_24=/opt/usr/data/browser-provider/scraps +DATA_INSTALL_DIR=/opt/usr/data/browser-provider +NOTIFY_DIR=$DATA_INSTALL_DIR/notify +DATABASE_DIR=$DATA_INSTALL_DIR/database + +# Remove +rm -r $SOCK_DIR_24 +rm -r $SCRAPS_DIR_24 + +# Set permission +chown -R web_fw:web_fw $DATA_INSTALL_DIR + +chsmack -a System::Shared $NOTIFY_DIR +chsmack -a System::Shared $NOTIFY_DIR/* +chsmack -t $NOTIFY_DIR + +chsmack -a System $DATABASE_DIR +chsmack -a System $DATABASE_DIR/.browser-provider*
\ No newline at end of file diff --git a/packaging/browser-provider.spec b/packaging/browser-provider.spec index d2b2cba..794108c 100755 --- a/packaging/browser-provider.spec +++ b/packaging/browser-provider.spec @@ -1,7 +1,7 @@ Name: browser-provider Summary: sync in background. -Version: 1.8.4 +Version: 1.8.5 Release: 1 Group: Development/Libraries License: Apache-2.0 @@ -95,7 +95,7 @@ rm -rf %{buildroot} #OS Upgrade mkdir -p %{buildroot}%{upgrade_script_path} -cp -f browser-provider_upgrade.sh %{buildroot}%{upgrade_script_path} +cp -f 500.browser-provider_upgrade.sh %{buildroot}%{upgrade_script_path} %post /sbin/ldconfig @@ -125,7 +125,7 @@ chown -R web_fw:web_fw %{_data_install_path} %{_unitdir}/browser-provider.service %{_unitdir}/browser-provider.socket %{_unitdir}/sockets.target.wants/browser-provider.socket -%{upgrade_script_path}/browser-provider_upgrade.sh +%{upgrade_script_path}/500.browser-provider_upgrade.sh %files devel %defattr(-,root,root,-) |