platform/core/system/libtota.git
6 years agoStop building diff tools by gbs 09/169009/4
Sunmin Lee [Thu, 1 Feb 2018 06:26:54 +0000 (15:26 +0900)]
Stop building diff tools by gbs

The diff tools package is not being used.
Instead of it, local_build script is available to install it directly.

Change-Id: I640e537ca4f6f27975be83b25b124a800a2dfea6
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoApply PIC to libtota 82/168782/1 submit/tizen_4.0/20180131.081352
Sunmin Lee [Wed, 31 Jan 2018 01:36:04 +0000 (10:36 +0900)]
Apply PIC to libtota

Make libtota into position-independent code

Change-Id: I9a482dddd0ad39533adf8e9890c69ab8afae3450
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoMerge branch 'tizen' into tizen_4.0 12/164612/1 accepted/tizen/4.0/unified/20171222.062728 submit/tizen_4.0/20171221.050631 submit/tizen_4.0/20171221.093123 submit/tizen_4.0/20171221.103518 tizen_4.0.IoT.p2_release
Sunmin Lee [Wed, 20 Dec 2017 04:37:39 +0000 (13:37 +0900)]
Merge branch 'tizen' into tizen_4.0

Change-Id: I38dd714cbaa5504d3e502601010ed1159e6ed809

6 years agoRemove deprecated member variable 33/161233/1 accepted/tizen/4.0/unified/20171128.072913 submit/tizen_4.0/20171128.000957
Kichan Kwon [Mon, 30 Oct 2017 07:28:49 +0000 (16:28 +0900)]
Remove deprecated member variable

- NOTICE : it must be merged along with the tota-ua patch
  - https://review.tizen.org/gerrit/#/c/161213/

Change-Id: Ie04ad91fe88a1a703a7d135e349493352022cc74
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
7 years agoModify ua.h to ua_types.h for integrating header with tota-ua 41/158841/3
Kichan Kwon [Fri, 3 Nov 2017 10:02:50 +0000 (19:02 +0900)]
Modify ua.h to ua_types.h for integrating header with tota-ua

- ua_types.h : structure (both packages use)
- ua.h : macro, error code (only tota-ua uses)

Change-Id: Id7fa9900236ade160c0e9a2bfbbb63f851bb55c4
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
7 years agoRemove unused parameter 17/158917/3
Kichan Kwon [Mon, 6 Nov 2017 02:52:48 +0000 (11:52 +0900)]
Remove unused parameter

Change-Id: I23baef728f4d259a1c1df402240452efb9cc8974
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
7 years agoRemove deprecated member variable 66/158166/1 accepted/tizen/unified/20171108.063437 submit/tizen/20171106.051051
Kichan Kwon [Mon, 30 Oct 2017 07:28:49 +0000 (16:28 +0900)]
Remove deprecated member variable

- NOTICE : it must be merged along with the tota-ua patch
  - https://review.tizen.org/gerrit/#/c/158032/

Change-Id: Ibd14a0f92a6270f450a90eecd2c6a6e06f624baa
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
7 years agoRelease 1.0.0 33/157633/1 accepted/tizen/unified/20171031.055633 submit/tizen/20171027.093656 submit/tizen/20171027.100102
Sunmin Lee [Wed, 25 Oct 2017 08:01:19 +0000 (17:01 +0900)]
Release 1.0.0

libtota for Tizen 4.0 is released
(accepted/tizen/4.0/unified/20171017.211102)

Change-Id: Icbdcb99d674c2dd76d4cd4f661f8fb5740a21ca6
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoRemove experimental code from libtota 29/156229/1
shirshkumar [Tue, 17 Oct 2017 12:58:56 +0000 (18:28 +0530)]
Remove experimental code from libtota

Change-Id: I1dd350dbcd2df13dd7a0109b02fcefa7d784b072
Signed-off-by: shirshkumar <shirsh.kumar@samsung.com>
7 years agoFix vulnerabilities 03/155303/1 accepted/tizen/4.0/unified/20171017.211102 submit/tizen_4.0/20171013.060038 tizen_4.0.m2_release
Sunmin Lee [Fri, 13 Oct 2017 01:09:56 +0000 (10:09 +0900)]
Fix vulnerabilities

Change-Id: I73965454cc282be6e373805931b9d5790f74ef21
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoFix svace issue 50/154250/1 accepted/tizen/4.0/unified/20171010.162940 submit/tizen_4.0/20171010.044415 tizen_4.0.IoT.p1_release
Sunmin Lee [Tue, 10 Oct 2017 02:17:22 +0000 (11:17 +0900)]
Fix svace issue

Change-Id: I91e2715d2e7c04e7141005322716e9806cea8d99
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoFix svace issue 60/152360/2 accepted/tizen/4.0/unified/20170926.171831 submit/tizen_4.0/20170926.065150
Sunmin Lee [Tue, 26 Sep 2017 02:25:40 +0000 (11:25 +0900)]
Fix svace issue

Change-Id: I3b7737174837bbc696bf4513d15367d818ad2934
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoApply Tizen coding rule 68/151868/2
Sunmin Lee [Fri, 22 Sep 2017 04:52:01 +0000 (13:52 +0900)]
Apply Tizen coding rule

Change-Id: Ic2e65905e90fa40b0dd6e637f66b46a6a41059b2
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoFix strtok_r bug 35/151535/1 accepted/tizen/4.0/unified/20170921.160604 submit/tizen_4.0/20170921.084313
Sunmin Lee [Thu, 21 Sep 2017 06:13:45 +0000 (15:13 +0900)]
Fix strtok_r bug

In previous code the strtok and strtok_r were mixed
in order to preserve each context.
When fixed svace issues, this intention was not considered.
Fix the bug about it.

Change-Id: I76d838370fa5d3d0ebcf16b0e33e3055f5b869f8
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoFix svace issues 67/150867/1 accepted/tizen/4.0/unified/20170920.081652 submit/tizen_4.0/20170919.101719
Sunmin Lee [Tue, 19 Sep 2017 03:02:35 +0000 (12:02 +0900)]
Fix svace issues

Change-Id: Ie01674362a5dc0775e29953d146e8a90707188b9
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoFix build warnings 26/149026/2 accepted/tizen/4.0/unified/20170913.153733 submit/tizen_4.0/20170913.030030
Sunmin Lee [Mon, 11 Sep 2017 09:46:20 +0000 (18:46 +0900)]
Fix build warnings

Change-Id: I3701c06d65674f862f5171c011bc41df5d74cecc
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoMake SS_FSUpdate feature valid 02/140102/5 accepted/tizen/4.0/unified/20170904.143551 accepted/tizen/unified/20170824.050912 submit/tizen/20170823.081423 submit/tizen_4.0/20170830.025641 submit/tizen_4.0/20170830.234433 submit/tizen_4.0/20170901.015617
Sunmin Lee [Mon, 24 Jul 2017 01:44:18 +0000 (10:44 +0900)]
Make SS_FSUpdate feature valid

After get the SS_FSUpdate from tota-ua,
the feature which is determined in build time doesn't work any longer.
To make it valid, use flag variable instead of preprocessor defined value.

Change-Id: I7d2531dde17798f1b0c21612c83600f5f409f22f
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoProviding local build script for server developer 39/138939/2
Kunhoon Baik [Fri, 14 Jul 2017 09:09:24 +0000 (18:09 +0900)]
Providing local build script for server developer

Change-Id: I87422c50d3e11b9d5a065f8583b2f27b3aa50c45

7 years agoEnhacement internal log system 88/138888/3 accepted/tizen/4.0/unified/20170816.013659 accepted/tizen/4.0/unified/20170829.020211 accepted/tizen/unified/20170721.032329 submit/tizen/20170720.005702 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
Sunmin Lee [Tue, 4 Jul 2017 01:38:05 +0000 (10:38 +0900)]
Enhacement internal log system
 - Considering log-size management for efficent storage usage

Change-Id: I762288c5ffb51717a3d5ee4b9b2b6d3e1aebf26f
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoPatch for x86 67/138867/2
Sunmin Lee [Wed, 24 May 2017 06:17:24 +0000 (15:17 +0900)]
Patch for x86

Resolve issues of building libtota in x86, x86_64 architecture.

Change-Id: I70331c9d9246ca72d57e6d3928bf03ee9a65ae94
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoRemove UPG directory 66/138866/2
Sunmin Lee [Wed, 24 May 2017 02:40:22 +0000 (11:40 +0900)]
Remove UPG directory

The UPG includes scripts which are used to make delta.
Because there is another repository "tota-upg", it doesn't
need to be duplicated at both repository.

Change-Id: I059c3f149dbb441a322c41978407a66a41cf440e
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoIntegrate some common codes from tota-ua 65/138865/2
Sunmin Lee [Tue, 23 May 2017 02:56:12 +0000 (11:56 +0900)]
Integrate some common codes from tota-ua

There were duplicated codes in libtota and tota-ua.
It would be better to integrate in one place and manage them.

Change-Id: I58f813d3b6ff9b28d3f032a88cb6eef6e1688f78
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoArrange code directories 64/138864/2
Sunmin Lee [Fri, 14 Jul 2017 02:59:09 +0000 (11:59 +0900)]
Arrange code directories

Because ss_patch/ codes also used to build libtota library,
it looks better to move them into single source directory: ss_engine.

Change-Id: I9c06b69eb7e774514c4e258ca7f6f50d86ba39a7
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoMigrate SS_FSUpdate.c from tota-ua 63/138863/1
Sunmin Lee [Fri, 19 May 2017 06:59:43 +0000 (15:59 +0900)]
Migrate SS_FSUpdate.c from tota-ua

For ease of managing, get SS_FSUpdate.c from tota-ua.

Change-Id: Id1928040f00527abee2a26bd278722d00c74d923
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoProvide shared library also 81/138581/3
Sunmin Lee [Thu, 18 May 2017 07:17:42 +0000 (16:17 +0900)]
Provide shared library also

From this patch, libtota can be used as shared library.

Change-Id: I593d946cbcc37e17eb8637f6feb5a91ad4256a0e
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoSeparate common part of bspatch to shared code 80/138580/3
Sunmin Lee [Thu, 13 Jul 2017 01:14:02 +0000 (10:14 +0900)]
Separate common part of bspatch to shared code

Separate same functions (apply_patch, Decode2) to common file
so it can be used as shared code.

Change-Id: Ie22f8aaf120f723925be027a8694a3f9e1f905c3
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoInitial codes of libtota 70/137870/3
Sunmin Lee [Mon, 10 Jul 2017 06:55:45 +0000 (15:55 +0900)]
Initial codes of libtota

Change-Id: I38d3ff5839645d71cc81c77336a5d5d015d222b6

7 years agoInitial empty repository master
Tizen Infrastructure [Mon, 3 Jul 2017 03:12:29 +0000 (03:12 +0000)]
Initial empty repository