summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Jeon Sang-Heon [Thu, 19 Sep 2019 06:22:56 +0000 (15:22 +0900)]
Add PATH variable to script
Fixed security issue in upgrade-trigger.sh
Change-Id: Ic595ea068087c3bfa6aba830e4dfe6c81a3dcab2
Signed-off-by: Jeon Sang-Heon <sh95.jeon@samsung.com>
Kichan Kwon [Tue, 20 Aug 2019 09:10:59 +0000 (18:10 +0900)]
Version up : 1.2.7
Change-Id: I38e1ae87bd838da4a0f8b28231c89fe5377c5aa5
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kwon [Tue, 16 Jul 2019 06:32:47 +0000 (06:32 +0000)]
Merge "Migrate to openssl 1.1" into tizen
Jeon Sang-Heon [Mon, 15 Jul 2019 01:04:32 +0000 (10:04 +0900)]
Add Line feed to all log
Change-Id: I4d75e03ef0465c5d1a5da1763de621d4aea479aa
Signed-off-by: Jeon Sang-Heon <sh95.jeon@samsung.com>
Dariusz Michaluk [Fri, 12 Jul 2019 13:25:11 +0000 (15:25 +0200)]
Migrate to openssl 1.1
Change-Id: I6e3d7242d219078e6f46837803b325bcd1f6da5b
Kwon [Fri, 12 Jul 2019 01:54:35 +0000 (01:54 +0000)]
Merge "Delete meaningless configuration" into tizen
Kichan Kwon [Thu, 11 Jul 2019 11:08:08 +0000 (20:08 +0900)]
fota_gui : apply HWC(HardWare Composer)
- Wearable targets use HWC windows since Tizen 5.5
- Commit via HWC if backend has HWC capability
Change-Id: I444050c369d58d2b7ddc4c96df693803720095fb
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
INSUN PYO [Mon, 8 Jul 2019 11:29:01 +0000 (20:29 +0900)]
Delete meaningless configuration
Change-Id: I4699e047dcdb3319c67b59224cf830c9b14af7ad
Kichan Kwon [Fri, 28 Jun 2019 06:29:50 +0000 (15:29 +0900)]
Revert missing TZ_SYS_UPGRADE
Change-Id: Ia961c75939454831bf4d2569adbccb94174ae12d
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Sunmin Lee [Mon, 18 Mar 2019 06:59:08 +0000 (15:59 +0900)]
Revert "Apply upgrade path config: TZ_SYS_UPGRADE"
This reverts commit
9633446018c18469d167a1cabbf5cfa601140010.
Change-Id: I41bde7ffc24ef34db829c29fd768efbc9b41f361
Sunmin Lee [Mon, 17 Sep 2018 01:36:46 +0000 (10:36 +0900)]
Run Package Verifier at upgrade-trigger.sh
In some cases, the verifier needs to be run at the
upgrade-trigger.sh before enter the upgrade mode.
Change-Id: Ie93c13898ad335b8290491d9a577ffe32ca81f7d
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Mon, 17 Sep 2018 09:23:35 +0000 (18:23 +0900)]
update-helper: New dbus method "get_result"
Introduce new dbus method to get the result of update.
Change-Id: Ie0e9c476ddb0ce7f89b92b51e710252105ff7853
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Fri, 10 Aug 2018 00:56:29 +0000 (09:56 +0900)]
Introduce dbus activation for update-helper
Introduce dbus activation for update-helper service
which substitutes previous path activation.
Change-Id: I3b34fff84a009ef46a655433b9121d6dec344c43
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Fri, 27 Apr 2018 05:02:39 +0000 (14:02 +0900)]
Apply upgrade path config: TZ_SYS_UPGRADE
Replace hard coded path with platform config path.
Change-Id: Ia1a4b9074dff75fdd3d4173c84bfabdcc6f7f3dd
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Thu, 26 Jul 2018 07:27:52 +0000 (16:27 +0900)]
Require libtota as shared
As a default, make tota-ua (delta.ua) require libtota.so
instead of static one.
Change-Id: I7477e7ad6f2c60cdb1ae45d356a042c43a2534f3
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Fri, 27 Apr 2018 05:02:39 +0000 (14:02 +0900)]
Fix typo
Change-Id: I697f4970ca757945568b99c63160210e1167ece0
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Wed, 14 Feb 2018 02:40:56 +0000 (11:40 +0900)]
Patch for update-helper
The update-helper is a system privileged service that:
- executes the TOTA trigger script
- copies the update result to DOWNLOAD.PATH which can be
accessible by downloader (ex. client)
Change-Id: I9df91e1417ffdb80937d4be9d8af1e80c2e1c6d1
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Mon, 12 Mar 2018 07:21:40 +0000 (16:21 +0900)]
Merge branch 'tizen_4.0' into tizen
Change-Id: If978b9a396fd2ca73f3b55f18b04d4a670d774bd
sanghyuk Ko [Thu, 7 Dec 2017 05:56:53 +0000 (14:56 +0900)]
Change parameter of SS_Get_last_update_status API
Change-Id: I45ac37992e9cda6d53aeb31c12fb703391177d82
sanghyuk Ko [Mon, 4 Dec 2017 12:54:38 +0000 (21:54 +0900)]
Tried to update the applied file when second update
Files that are applied the patch during the update are skipped during the second update.
Files that are deleted during the update are skipped during the second update.
Change-Id: Icb563c1fc7693287232d52dd38f15d3ccf4115a7
Sunmin Lee [Fri, 9 Feb 2018 02:19:23 +0000 (11:19 +0900)]
Merge branch 'tizen_4.0' into tizen
Change-Id: I6946fcc963c19c9d53c8bf148717038f678931a5
Sunmin Lee [Thu, 1 Feb 2018 07:53:15 +0000 (16:53 +0900)]
Remove unnecessary package requirement
For now, no code of tota-ua requires libsmack.
Change-Id: I7cd40d610df67f445225f74e84c70a108fddc571
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Thu, 11 Jan 2018 01:22:12 +0000 (10:22 +0900)]
Apply new version format
Tizen version used by RW scripts is changed to
4-digit (ex 4.0.0.0).
And remove the release number because it will not be used.
Change-Id: Icd65ce7c3d9f0535d4d4c3726bbb1eaa78d1bf6d
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Kichan Kwon [Tue, 9 Jan 2018 07:50:54 +0000 (16:50 +0900)]
Run pre-script before system-update if exist
Change-Id: Ia71e239e87dcf28fc586e6397b78edd611993f96
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Mon, 8 Jan 2018 11:00:37 +0000 (20:00 +0900)]
Refer config file when trigger can't find device path
Change-Id: Idd5b34c0682dd34c53c18f8bb4dd5b2399e873fc
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Fri, 3 Nov 2017 10:05:30 +0000 (19:05 +0900)]
Migrate UA data structures to libtota
- To prevent error by structure difference
- You can see the ua_types.h in the libtota
- NOTICE : it must be merged along with the libtota patch
- https://review.tizen.org/gerrit/#/c/158841/
Change-Id: I743da85dcaa8450d266bd50cac9749b0146fd3a7
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Sunmin Lee [Fri, 15 Dec 2017 07:22:36 +0000 (16:22 +0900)]
Use the same path for update
Change-Id: Ie6b90ffd6011d0ac9340d44da738ef6c5908fefd
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Fri, 15 Dec 2017 02:46:52 +0000 (11:46 +0900)]
Arrange the error cases
Arrange the error cases of tota-ua
- Cleanup the unused cases
- Add catch clause for missing cases
Change-Id: I15f94e9ea936612402eb023e0c05fb69384cef6c
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Mon, 4 Dec 2017 07:50:57 +0000 (16:50 +0900)]
Add required package
The "tar command" is required for upgrade-trigger.
Specify this dependency in spec file.
Change-Id: I345535362493cc4e7e5aa9b4adceb44f6238c6c5
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Wed, 22 Nov 2017 06:18:15 +0000 (15:18 +0900)]
Merge branch 'tizen' into tizen_4.0
- Remove target dependent partition information
- Remove the target dependency for UA and script
- Remove SS_RECOVERYRAMDISK
Change-Id: I3dbc22b09748b3ccaacf1895f149734c3aad2da2
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Thu, 2 Nov 2017 09:32:24 +0000 (18:32 +0900)]
upgrade-trigger: flash some images preceding update
A new update type PRE_UA means that the image
would be flashed by upgrade-trigger.
The upgrade trigger was modified to flash the image
according to update type in config file.
Change-Id: Ic8eb33b408f3479bdbbedaab8bde180dab5781da
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Kichan Kwon [Wed, 1 Nov 2017 05:46:42 +0000 (14:46 +0900)]
Remove SS_RECOVERYRAMDISK
- All targets are using ramdisk-recovery to upgrade
Change-Id: Ib2a95e3bf04c9e8a880f910b5a83ea72f21f0bfd
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Tue, 31 Oct 2017 05:52:12 +0000 (14:52 +0900)]
Remove the target dependency for UA and script
- No more need target specific package if GUI is not used
- Component
- tota-ua : UA, upgrade trigger
- target_X : GUI (in current, only wearable)
Change-Id: I26167d869a60034b9eb9224622521e6afe99d540
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Kichan Kwon [Fri, 27 Oct 2017 05:19:06 +0000 (14:19 +0900)]
Remove target dependent partition information
- To target independent, we remove these below
- Default partition configuration
- Partition-dependent error value
- UPG always make config file if successful, so
UA doesn't have to know it already
- If config file is not found, stop upgrade and return error
- NOTICE : it must be merged along with the libtota patch
- https://review.tizen.org/gerrit/#/c/158166/
Change-Id: I9ca5665b06cf8066f701016309d6b22712db492c
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
Sunmin Lee [Thu, 2 Nov 2017 09:32:24 +0000 (18:32 +0900)]
Flash recovery kernel before update
In Tizen 3.0, the recovery kernel was not exist, neither.
Therefore it should be flashed in advance like ramdisk, ramdisk-recovery.
Change-Id: I5ad7d9667d18756fc2e7a5202f2b7ad7de30be45
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Wed, 25 Oct 2017 08:16:32 +0000 (17:16 +0900)]
Release 1.0.0
tota-ua for Tizen 4.0 is released
(accepted/tizen/4.0/unified/
20171011.150240)
Change-Id: I6ed67477ed5b9c0d97735bde637cab6d97d0bb47
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Tue, 24 Oct 2017 11:26:12 +0000 (20:26 +0900)]
Adjust feature definitions
The SUPPORT_CAPABILITY feature is necessary for rpi3, too.
And remove unused fature definition.
Change-Id: I2f91fdb924c5f1868d5fd6410cd9ca2d991b4dc4
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Mon, 25 Sep 2017 10:22:28 +0000 (19:22 +0900)]
Patch for TW2
The latest codes for TW2 is alomost same with TW1.
Therefore apply differences of TW2 codes to TW1 and
make it common codes.
Change-Id: I6ed4a4f095c53294cce1bda41396be0ca75b7bf5
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Fri, 8 Sep 2017 01:57:56 +0000 (10:57 +0900)]
Apply the latest codes for fota gui
Current fota_gui codes are based on old tdm library.
This patch applies the lastest changes for fota gui.
Change-Id: I6b4334799fba12e306b89535a14014d08b0e7cfe
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Mon, 25 Sep 2017 01:45:37 +0000 (10:45 +0900)]
Apply Tizen coding rule
Change-Id: I2e9193da5f9000a67f2039440e82fa45d3597d18
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Fri, 29 Sep 2017 03:00:27 +0000 (12:00 +0900)]
Unify reboot parameter for upgrade
As common reboot parameter for upgrade,
use "fota" in RPi3 target, too.
Change-Id: I4a1a2bb100d825777249370dcbcccb1e0a02e6d3
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Mon, 25 Sep 2017 02:10:33 +0000 (11:10 +0900)]
Add README
Change-Id: I690b241885fbc8dbc8642e63e329820f48753695
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Tue, 19 Sep 2017 03:20:24 +0000 (12:20 +0900)]
Fix svace issues
Change-Id: I272dc7e4a6e29484f7b522cc75582a6c41789fa7
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Wed, 13 Sep 2017 01:24:45 +0000 (10:24 +0900)]
Apply ASLR to delta.ua
Change-Id: Iacae067657791067052bf2a57c45e9dd4d9e205c
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Tue, 12 Sep 2017 01:48:26 +0000 (10:48 +0900)]
Fix build warnings
Change-Id: I6d8c2fe644ac565a75d34d86f8808058c7f31c81
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Fri, 8 Sep 2017 02:35:27 +0000 (11:35 +0900)]
Apply ASLR to fota_gui
Change-Id: Ie3691a5899c5129b77b1d62ccad8c536b92d6633
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Fri, 1 Sep 2017 02:39:28 +0000 (11:39 +0900)]
No verification of EXTRA (RAMDISK2) as FULL_IMG
If RAMDISK2 (EXTRA) is updated as FULL_IMG,
IMG verification is not necessary.
Change-Id: I6a0cacfdf046a08ab45801f6393f6af5f142a02c
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Wed, 30 Aug 2017 01:12:26 +0000 (10:12 +0900)]
Supplementary patch for upgrade automation
- Truncate target suffix from trigger and rename it instead
- Recover tota directory: do not exit the script when it doesn't exist
Change-Id: Ib63e25b98e8437f0928727794b67c90da700dc7f
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Mon, 28 Aug 2017 02:49:42 +0000 (11:49 +0900)]
Add scripts for upgrade without client
Include below scripts for upgrade
- upgrade-trigger-(rpi3, tw1).sh: upgrade preparation script as like client
Change-Id: I08fbd9282b9c9027ff541c49d160125d64af9dcf
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Tue, 22 Aug 2017 00:08:46 +0000 (09:08 +0900)]
Remove dummy resource for non-gui target
The target gui not supported does not require gui codes
to be compiled. This patch excludes gui sources from non-gui
tota-ua package.
Change-Id: I4a6930525e9f2836e3e8b52765eeda5dd0ec28bd
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Mon, 24 Jul 2017 01:53:28 +0000 (10:53 +0900)]
Make build time feature to flag based
The FEATURE_SUPPORT_CAPABILITY was used to build time feature,
but the target code (SS_FSUpdate) was moved to libtota.
To control the feature in tota-ua, make the feature to API
and set the value in tota-ua.
Change-Id: Ie6d041284e29e4e559916b2abd3fd80b4b6f1cfc
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Mon, 24 Jul 2017 01:53:28 +0000 (10:53 +0900)]
Fix vulnerabilities
Change-Id: I0499762ff502b51ac4e5ae384a67640cc89e322a
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Kunhoon Baik [Tue, 25 Jul 2017 06:08:58 +0000 (15:08 +0900)]
Fix unintented depenedency issue
Only one user-agent per target should be installed.
If per target agent has dependency on the main package,
conflict packages should be declared to avoid multiple target agent installation.
Thus, this patch defines the conflict packages for each user-agent per target.
Eventually, per-target agent will be removed.There are per-ux specifc agent will be created.
For example, circle-ux-agent, box-ux-agent, no-ux-agent.
Change-Id: I2b20879adb7e67997e3805b6193a2301c561b17d
Sunmin Lee [Wed, 5 Jul 2017 02:44:29 +0000 (11:44 +0900)]
Add TW1 resources
Change-Id: I981fa028dd508e2c7067fdd82234a199cc9fbc95
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Tue, 23 May 2017 02:55:47 +0000 (11:55 +0900)]
Integrate some common codes to libtota
There were duplicated codes in tota-ua and libtota.
It would be better to integrate in one place and manage them.
Change-Id: I20108e80f4731adac60ee1510834bcfdf0a96a4e
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Fri, 19 May 2017 07:02:07 +0000 (16:02 +0900)]
Move SS_FSUpdate.* to libtota
SS_FSUpdate is considered as part of libtota.
To get rid of ss_engine from tota-ua, move it to libtota.
Change-Id: I2524ad851927353d49f4b53827f7a92d9cd1a1c4
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Sunmin Lee [Thu, 13 Jul 2017 01:44:28 +0000 (10:44 +0900)]
Initial codes of tota-ua
Change-Id: Iffdb362865f9dfbef2aeccf79cf760e09634c4c3
Sunmin Lee [Mon, 29 May 2017 09:52:46 +0000 (18:52 +0900)]
Add empty packages
This repository was cleared but dummy packages are
required for build images.
So, add empty tota packages.
Change-Id: I373b65e662cdcac1a8e6778511e10333efd04b1f
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
Tizen Infrastructure [Thu, 13 Apr 2017 03:46:59 +0000 (20:46 -0700)]
Initial empty repository