platform/core/system/libtota.git
3 years agoCompilation quickfix 91/265891/1 accepted/tizen/6.5/unified/20211109.041741 submit/tizen_6.5/20211108.033656
Michal Bloch [Mon, 24 May 2021 19:47:34 +0000 (21:47 +0200)]
Compilation quickfix

Change-Id: Iff6d71df986d07ada33535134cf8f510d3d60ab7
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
3 years agoFix some incorrect printf specifiers 88/265888/1
Michal Bloch [Tue, 18 May 2021 19:40:36 +0000 (21:40 +0200)]
Fix some incorrect printf specifiers

Change-Id: Iae43060cd82d73c71c36dd9580e2d1110cb916a4
(cherry picked from commit 9b46484c08c05a91997034f503d9a9d1df0a6202)

3 years agoFix strtoul error checking - SVACE warning 45/249945/4 accepted/tizen/6.5/unified/20211028.115121 accepted/tizen/unified/20210217.120446 submit/tizen/20210216.121346 submit/tizen_6.5/20211028.162501 tizen_6.5.m2_release
Mateusz Moscicki [Thu, 17 Dec 2020 12:58:24 +0000 (13:58 +0100)]
Fix strtoul error checking - SVACE warning

Change-Id: I954cfdce7919a452b63d1fd96ca3936536e69446
Signed-off-by: Mateusz Moscicki <m.moscicki2@partner.samsung.com>
4 years agoFix typo 81/246481/1
Jeon Sang-Heon [Fri, 30 Oct 2020 11:11:13 +0000 (11:11 +0000)]
Fix typo

deafult -> default

Change-Id: Id77991ab8607a2ef6492f53229930109df42f407
Signed-off-by: Jeon Sang-Heon <sh95.jeon@samsung.com>
4 years agoFix strtoul error checking 19/231619/2 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.115637 accepted/tizen/6.0/unified/hotfix/20201103.003857 accepted/tizen/unified/20200528.132852 submit/tizen/20200526.104742 submit/tizen_6.0/20201029.205104 submit/tizen_6.0_hotfix/20201102.192504 submit/tizen_6.0_hotfix/20201103.114804 tizen_6.0.m2_release
Kichan Kwon [Thu, 23 Apr 2020 02:47:26 +0000 (11:47 +0900)]
Fix strtoul error checking

Change-Id: Iae973801894f6afe13aa4e5ae61765e19dd53a4b
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
4 years agoEnable LONG file name support across all tar api's. 23/231223/1 accepted/tizen/unified/20200428.130041 submit/tizen/20200420.080039 submit/tizen/20200420.102513 submit/tizen/20200424.072715
shirsh-kumar [Thu, 16 Apr 2020 17:52:31 +0000 (23:22 +0530)]
Enable LONG file name support across all tar api's.
Add additional info in error cases.
Fix crash issue in building cfg table for LONG file names.
Version up for Library

Change-Id: Id5ee04e95909833c29527bea689f9d138fdc54ed
Signed-off-by: shirsh-kumar <shirsh.kumar@samsung.com>
4 years agoRevert heap to stack memory array in function 83/226983/1 accepted/tizen/unified/20200309.124326 submit/tizen/20200309.011253
Jeon Sang-Heon [Mon, 9 Mar 2020 00:56:14 +0000 (00:56 +0000)]
Revert heap to stack memory array in function

Change-Id: I6a3df69f6bfa207c2438b92884b7d5f96ef9f05d

4 years agoFix coverity issue 96/226396/2 accepted/tizen/unified/20200303.170242 submit/tizen/20200302.090028
Jeon Sang-Heon [Mon, 2 Mar 2020 08:39:48 +0000 (17:39 +0900)]
Fix coverity issue

- change large array in stack memory to heap

Change-Id: I833d1abcd81da99923ef36d336a7f487344639a2

4 years agoFix coverity issue 75/224775/1 accepted/tizen/unified/20200214.050319 submit/tizen/20200213.062745
Jeon Sang-Heon [Thu, 13 Feb 2020 04:25:24 +0000 (13:25 +0900)]
Fix coverity issue

- increase bufsize to prevent out of bound access
- check null before fwrite

Change-Id: I94571b42c10c1fe10bce9ec6532872b42a9a6196
Signed-off-by: Jeon Sang-Heon <sh95.jeon@samsung.com>
4 years agoFix coverity issue 41/224641/2 accepted/tizen/unified/20200212.125721 submit/tizen/20200212.070853
Jeon Sang-Heon [Wed, 12 Feb 2020 05:40:46 +0000 (14:40 +0900)]
Fix coverity issue

- initialize file.data with NULL
- make item_data and buf to null terminated
- initialize sha1_ctx_t message buffer with NULL

Change-Id: I885f12079525f6745f1ab1a78051790c90f5007d
Signed-off-by: Jeon Sang-Heon <sh95.jeon@samsung.com>
4 years agoFix svace and coverity issue 83/224483/6
Jeon Sang-Heon [Tue, 11 Feb 2020 01:37:15 +0000 (10:37 +0900)]
Fix svace and coverity issue

- check if failed strtoul
- change atoi to strtol and check round bound with __INT_MAX__
- add null checking with strtok_r return value

Change-Id: Ie612cd49dba87785fedc895334df68e7cfc75913

4 years agofix coverity issue 06/223606/1
Jeon Sang-Heon [Fri, 31 Jan 2020 02:37:39 +0000 (11:37 +0900)]
fix coverity issue

- modify strcmp to strncmp for non null terminated string params
- modify uncatched return code from fseek

Change-Id: Ia7f672a163dc4e7eeeb44dd0b077f73df7e97ab7

5 years agoChange format of log output in case of error for SHA 32/216432/1
shirsh-kumar [Fri, 18 Oct 2019 09:40:21 +0000 (15:10 +0530)]
Change format of log output in case of error for SHA

Change-Id: I25cefb5a3f42743e2bfd4fffc04a35dde85e6707
Signed-off-by: shirsh-kumar <shirsh.kumar@samsung.com>
5 years agoAdd Line feed to all log 83/209883/1
Jeon Sang-Heon [Fri, 12 Jul 2019 06:35:04 +0000 (15:35 +0900)]
Add Line feed to all log

Change-Id: Ia83dc4d267a4cfbbc058300fd9a5ca81ad0786ef
Signed-off-by: Jeon Sang-Heon <sh95.jeon@samsung.com>
5 years agoRevert "Apply TZ_SYS_UPGRADE path to libtota" 26/202126/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv accepted/tizen/5.5/unified/20191031.022921 accepted/tizen/5.5/unified/mobile/hotfix/20201027.090604 accepted/tizen/unified/20190326.024530 submit/tizen/20190325.064448 submit/tizen_5.5/20191031.000004 submit/tizen_5.5_mobile_hotfix/20201026.185104 tizen_5.5.m2_release
Sunmin Lee [Mon, 18 Mar 2019 06:31:51 +0000 (15:31 +0900)]
Revert "Apply TZ_SYS_UPGRADE path to libtota"

This reverts commit 51ac92fd026376df3e83cce93568c3f5f1f27379.

Change-Id: I147572bea17c1fd57aa97ffb7a13408f2144dd26

5 years agoNarrowing permission of extracted file 74/200074/2 accepted/tizen_5.0_unified accepted/tizen/5.0/unified/20190226.075154 accepted/tizen/unified/20190219.154045 submit/tizen/20190219.014414 submit/tizen_5.0/20190219.014427
Sunmin Lee [Mon, 18 Feb 2019 01:52:49 +0000 (10:52 +0900)]
Narrowing permission of extracted file

Change-Id: I45fc34c8aa3c3582e4f75aaa590cf6036a1e75a9
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
5 years agoMerge patches of tizen_4.0 04/198904/1 accepted/tizen/unified/20190202.022424 submit/tizen/20190201.024610 submit/tizen_5.0/20190201.024600
shirsh-kumar [Mon, 12 Nov 2018 09:21:27 +0000 (14:51 +0530)]
Merge patches of tizen_4.0

- Fix percent issue on multiple reboot
- Limit Free size calculation to 4GB, if freesize is greater than 4GB return 4GB else max available size
- Increase supported file size (for extraction) from 256 MB to 2 GB
- Print actual and expected SHA value during verification failure of source file or image
- Fix vulnerabilities

Change-Id: Ia7f47a51f0ce431347c58b5d6a71185c5c776f3e
Signed-off-by: shirsh-kumar <shirsh.kumar@samsung.com>
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoFix vulnerability 09/188409/1 accepted/tizen/5.0/unified/20181102.021528 accepted/tizen/unified/20180905.140113 submit/tizen/20180905.020038 submit/tizen_5.0/20181101.000004
Sunmin Lee [Tue, 21 Aug 2018 08:51:07 +0000 (17:51 +0900)]
Fix vulnerability

- Fix memory leaks

Change-Id: I594edfc2d46fee720819f31618a77a38d9686d0e
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoReplace 7zip with liblzma-tool 90/187690/5
Sunmin Lee [Tue, 28 Aug 2018 01:03:25 +0000 (10:03 +0900)]
Replace 7zip with liblzma-tool

It is enough to use liblzma-tool instead of lib7zip
for libtota.

Change-Id: I894c07ded15b883dbcaaa8ccd30d489aa09b2b94
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoApply TZ_SYS_UPGRADE path to libtota 71/185571/2 accepted/tizen/unified/20180806.075501 submit/tizen/20180801.085411 submit/tizen/20180803.005755
Sunmin Lee [Thu, 26 Jul 2018 01:53:17 +0000 (10:53 +0900)]
Apply TZ_SYS_UPGRADE path to libtota

Use a config path TZ_SYS_UPGRADE rather than hard coded path.

Change-Id: I6b9c508b09858cb44eb1c3d88e0ef3c6e646ccbb
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoBuild source codes once as object target 70/185570/1
Sunmin Lee [Thu, 26 Jul 2018 05:21:20 +0000 (14:21 +0900)]
Build source codes once as object target

The codes built as object file can be used for both libraries
(shared/static) without building for each one.

Change-Id: Ic580e691fb93a72cfc8adafcf634422bc26ef112
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoComment out some log 69/185569/1
Sunmin Lee [Wed, 11 Jul 2018 02:23:00 +0000 (11:23 +0900)]
Comment out some log

Some log of tota is causing size issue.
Silence it to handle that.

Change-Id: I853847efbd060ab1821a28c49974cb70440d541b
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoMerge branch 'tizen_4.0' into tizen 68/185568/1
Sunmin Lee [Mon, 23 Jul 2018 02:23:10 +0000 (11:23 +0900)]
Merge branch 'tizen_4.0' into tizen

Change-Id: I16ff546419b6071204fb4fbeac4c7f4faca94bfa

6 years agoFix vulnerabilities 17/182217/2 accepted/tizen/4.0/unified/20180621.141504 submit/tizen_4.0/20180621.085902
Sunmin Lee [Thu, 21 Jun 2018 08:36:08 +0000 (17:36 +0900)]
Fix vulnerabilities

- Handle fopen error cases
- Use strerror_r rather than sterror

Change-Id: Ia427630430061a83b7e6ad5383d5ebace1cf587e
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoInclude copyright notice into the license texts 80/182080/1 accepted/tizen/4.0/unified/20180620.131402 submit/tizen_4.0/20180620.074050
Sunmin Lee [Wed, 20 Jun 2018 07:30:35 +0000 (16:30 +0900)]
Include copyright notice into the license texts

Change-Id: I110bdf17825284af09ad24337f0ce7bc31d200be
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoLogging Optimization and time profiling 35/157635/2
shirshkumar [Mon, 11 Jun 2018 10:43:01 +0000 (16:13 +0530)]
Logging Optimization and time profiling

The log generated contained some extra redundan information.
Those have been removed and error message has been made more informative.
Added error handling for fopen in patch reading case.
Time profiling has been enabled with better precision.

Change-Id: I4b2d595e5fd63de51a9d569ce4222a738c995f69
Signed-off-by: shirshkumar <shirsh.kumar@samsung.com>
6 years agoFix Svace issues 14/180114/1 accepted/tizen/4.0/unified/20180529.023806 submit/tizen_4.0/20180525.022624
shirsh.kumar [Thu, 24 May 2018 12:38:24 +0000 (18:08 +0530)]
Fix Svace issues

Change-Id: I5168348977f6d2771f7eba83fe89d0f910fd9ca3
Signed-off-by: shirsh.kumar <shirsh.kumar@samsung.com>
6 years agoMerge branch 'tizen_4.0' into tizen 69/174469/1 accepted/tizen/unified/20180403.060151 submit/tizen/20180402.090723
Sunmin Lee [Mon, 2 Apr 2018 08:49:27 +0000 (17:49 +0900)]
Merge branch 'tizen_4.0' into tizen

Change-Id: I6072fe180546dc5d3c7d75917238c293a8a51b7e

6 years agoPatch for some initialization issue 91/174191/1 accepted/tizen/4.0/unified/20180330.060753 submit/tizen_4.0/20180329.043953
Sunmin Lee [Thu, 29 Mar 2018 04:27:45 +0000 (13:27 +0900)]
Patch for some initialization issue

- Initialize local variable
- Release 1.2.2

Change-Id: Idc468883b77cf319efdff7ba64aecc5bf006fe29
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoFix vulnerabilities 08/174108/1
Sunmin Lee [Wed, 28 Mar 2018 05:42:36 +0000 (14:42 +0900)]
Fix vulnerabilities

- Replace vulnerable function with not the one
- Guarantee null termination in SS_ReadFile()

Change-Id: I32d1c68e95a488632d9084f13f45637745abc703
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoMerge branch 'tizen_4.0' into tizen 48/172248/1 accepted/tizen/unified/20180315.150758 submit/tizen/20180315.045201
Sunmin Lee [Mon, 12 Mar 2018 07:20:16 +0000 (16:20 +0900)]
Merge branch 'tizen_4.0' into tizen

Change-Id: I1d046def10122b59c8e5f52483d141b050d77e84

6 years agoFix build warning 45/171945/2 accepted/tizen/4.0/unified/20180313.061133 submit/tizen_4.0/20180309.065426
Sunmin Lee [Thu, 8 Mar 2018 05:12:13 +0000 (14:12 +0900)]
Fix build warning

The strnlen requires specific feature test macro

Change-Id: Ifdc832ec34b71ffa34a2e22b0e542503779c4909
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoIn case of MOVES, added code to check validation. 44/171944/2
sanghyuk Ko [Thu, 7 Dec 2017 05:56:19 +0000 (14:56 +0900)]
In case of MOVES, added code to check validation.

In addition, Remove duplicated code.

Change-Id: I5162a65001dce5fbef899b5021367edb358cca84

6 years agoTried to update the applied file when second update 43/171943/1
sanghyuk Ko [Mon, 4 Dec 2017 12:53:57 +0000 (21:53 +0900)]
Tried to update the applied file when second update

Files that are applied the patch during the update are skipped during the second udpate.
Files that are deleted during the update are skipped during the second udpate.

Change-Id: Id7366ce042d361dad4913c0a31aa22fe1b440778

6 years agoMerge branch 'tizen_4.0' into tizen 19/171419/1 accepted/tizen/unified/20180305.062844 submit/tizen/20180305.013316
Sunmin Lee [Mon, 5 Mar 2018 01:13:20 +0000 (10:13 +0900)]
Merge branch 'tizen_4.0' into tizen

Change-Id: I4d082d038fab175d1a0b904773db1f509c6cf5b8

6 years agoFix vulnerability 79/171279/1 submit/tizen/20180228.063935
Sunmin Lee [Wed, 28 Feb 2018 06:34:46 +0000 (15:34 +0900)]
Fix vulnerability

Guarantee of null termination of string

Change-Id: I821891de257d47abf9429edc41eb0d878de36f0b
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoEliminate libsmack dependency 08/169008/4 accepted/tizen/4.0/unified/20180206.165244 submit/tizen_4.0/20180205.083039
Sunmin Lee [Thu, 1 Feb 2018 06:55:12 +0000 (15:55 +0900)]
Eliminate libsmack dependency

For independence of libtota, remove libsmack dependency.

Change-Id: Ibf909e32373a8e7814e4196bfff9cffa5055eab4
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
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