Sangyoon Jang [Fri, 5 Apr 2024 00:20:51 +0000 (09:20 +0900)]
Parse icon for robotapp
Change-Id: I6c4b8f2d3bb2e34a36cb8e51b6dd6c99d33a7bd7
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 4 Apr 2024 01:10:57 +0000 (10:10 +0900)]
Release version 1.34.46
Changes:
- Parse robot-application
- Fix clean undo operation of tag plugin
- Revert "Fix smack labeling for lib rpk"
Change-Id: I3decfd1668578c9e0cba31636b00e97d86dbf1b9
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 22 Feb 2024 05:53:32 +0000 (14:53 +0900)]
Revert "Fix smack labeling for lib rpk"
This reverts commit
5ed4ec8644015b7418c0e86111ffb5d344a5823d.
This logic is only for rpk package and moved to rpk's step.
Change-Id: I2e1fb4402432fb413795e591cf7961aa8fc1bc16
Sangyoon Jang [Wed, 3 Apr 2024 00:01:17 +0000 (09:01 +0900)]
Fix clean undo operation of tag plugin
Pre/Post-clean/undo does not exist.
Change-Id: If40e883e418e4c37a6e4a7f605ad13f78995b69b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 2 Apr 2024 07:30:05 +0000 (16:30 +0900)]
Parse robot-application
Change-Id: If15559eb6d5c7eefb9a0bc546ca812fa1dfb3a9a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 21 Mar 2024 03:35:04 +0000 (12:35 +0900)]
Release version 1.34.45
Changes:
- Fix static analysis issues
Change-Id: I3ada1f5bf307acd9a3e8c0fcefaa0144fe816534
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 20 Mar 2024 05:55:33 +0000 (14:55 +0900)]
Fix static analysis issues
Change-Id: Id2c82cf60202e21da11a880e0fdcd4f1cbaa00a1
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Changgyu Choi [Fri, 15 Mar 2024 07:41:47 +0000 (16:41 +0900)]
Release version 1.34.44
Changes:
- Fix build error
Change-Id: Ie8c4f9b694aa78d86641dc2808c5002c14123da7
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 15 Mar 2024 07:38:57 +0000 (16:38 +0900)]
Fix build error
-Werror=range-loop-construct
Change-Id: Ica14612f07d0991cef3130dafba05709ea595036
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Sangyoon Jang [Fri, 16 Feb 2024 08:23:32 +0000 (17:23 +0900)]
Release version 1.34.43
Changes:
- Remove boost dependency
Change-Id: I4de37a26cd72f52b0f525d59a03b0cff60676146
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 26 Dec 2023 03:44:10 +0000 (12:44 +0900)]
Remove boost dependency
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/manifest-parser/+/303072
- https://review.tizen.org/gerrit/c/platform/core/appfw/tpk-manifest-handlers/+/303073
Change-Id: Ib3688fa88c575d86568226e73bfef5f71569a2a2
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 13 Feb 2024 01:20:00 +0000 (10:20 +0900)]
Release version 1.34.42
Changes:
- Fix CategoryPlugin, MetadataPlugin
- Fix build error
- Fix smack labeling for lib rpk
Change-Id: I74254674dd236f13117f24519d54d82f6600d2d6
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 8 Feb 2024 00:42:40 +0000 (09:42 +0900)]
Fix smack labeling for lib rpk
Set public RO for files under lib dir when installing "rpk" type package.
Change-Id: If72fb2b816fa577b464c1f66e307a8d3277f4960
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 8 Feb 2024 00:35:41 +0000 (09:35 +0900)]
Fix build error
Change-Id: I5a4aa5823af42e6bc8061b2c94e5e1783118bf62
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 1 Feb 2024 07:22:38 +0000 (16:22 +0900)]
Fix CategoryPlugin, MetadataPlugin
Refactor codes for readability.
Change-Id: I4363feb0ead8c35f3aab418a7fd913c6ddd56eb9
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 1 Feb 2024 06:15:30 +0000 (15:15 +0900)]
Release version 1.34.41
Changes:
- Fix metadata plugin
Change-Id: Ie2ee502394afb70fa332a4c7f0647b1e61c8cc06
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 31 Jan 2024 05:16:22 +0000 (14:16 +0900)]
Fix metadata plugin
Support package metadata for metadata plugin.
Change-Id: Ic4e8fcb362a4f29f2d39c982a2e3ad9af1c41968
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Tue, 30 Jan 2024 05:21:42 +0000 (14:21 +0900)]
Release version 1.34.40
Changes:
- Fix that plugin is executed several times
- Fix backup plugin execution information
- Fix static analysis issue
Change-Id: Ia9d1f4e290a4dad02c8b4309ef35fef63e32bc40
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 29 Jan 2024 12:00:20 +0000 (21:00 +0900)]
Fix static analysis issue
Use of auto that causes a copy
Change-Id: Id308b78bc42bba876c4f83d85f407ed4e4a0ce1a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 24 Jan 2024 08:38:21 +0000 (17:38 +0900)]
Fix backup plugin execution information
Add the plugin execution information to a manifest
not a manifest for backup can cause the previous plugin execution information
to be saved after the upgrade is complete
Change-Id: Ic078226fb34caec77748b432623c2b59c1719ca5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 24 Jan 2024 07:22:42 +0000 (16:22 +0900)]
Fix that plugin is executed several times
There are cases in which the plugin is executed even if it is not
actually a removed plugin when performing a removed plugin
because the plugin info can have duplicate data
Change-Id: Ib2e793e01ee281e9a2496c56b080af2114eeece6
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Wed, 24 Jan 2024 03:40:55 +0000 (12:40 +0900)]
Release version 1.34.39
Changes:
- Fix updating certinfo
Change-Id: I5b80b148801d5b5291400903e6abe6cb750cda1b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 18 Jan 2024 09:22:38 +0000 (18:22 +0900)]
Fix updating certinfo
Remove delete operation when update cert. Now update operation for cert
can be performed at once.
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/pkgmgr-info/+/304516
Change-Id: Iee83375151cd074ffe75f5b5e6eb78187542cd24
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
ilho kim [Fri, 10 Nov 2023 07:41:26 +0000 (16:41 +0900)]
Release version 1.34.38
Changes:
- Reflect pending cache when process operation end
Change-Id: Ida64792ce89031bf98da0f609de0b0815feb35ef
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 9 Nov 2023 07:41:54 +0000 (16:41 +0900)]
Reflect pending cache when process operation end
During clean operation, the parser-plugin can execute other process
to get updated package information in other process the pending package
information should be reflected
Change-Id: I9a13875f1ca1d0ab3401d2ba06c25a8b9cb0be94
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Tue, 31 Oct 2023 02:11:03 +0000 (11:11 +0900)]
Release version 1.34.37
Changes:
- Call api update after installation is finished
Change-Id: Ib547ae5ef01a9dd97b87972b1bea748eef54db56
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Mon, 30 Oct 2023 07:18:51 +0000 (16:18 +0900)]
Call api update after installation is finished
Related:
[pkgmgr-info] https://review.tizen.org/gerrit/#/c/platform/core/appfw/pkgmgr-info/+/300559/
Change-Id: I0ffa194936f25473a124afaf332b50a690daef8c
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Sangyoon Jang [Fri, 15 Sep 2023 01:17:31 +0000 (10:17 +0900)]
Release version 1.34.36
Changes:
- Fix static analysis issue
Change-Id: I05b69037f2aad00cb06cc389ea2675a2ed7aa5e5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 15 Sep 2023 01:00:37 +0000 (10:00 +0900)]
Fix static analysis issue
Change-Id: I5a4ee134eed1a76925d51cb429be8628daa2c370
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
ilho kim [Thu, 17 Aug 2023 00:56:19 +0000 (09:56 +0900)]
Release version 1.34.35
Changes:
- Fix static analysis issue
Change-Id: Id655b2bd4f4a7b16f7b4b91674b537a43318d4f1
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Wed, 16 Aug 2023 06:53:50 +0000 (15:53 +0900)]
Fix static analysis issue
Remove of unnecessary copy operation from auto
Change-Id: I9e76b2a9f4a18a1c8170a981b87e538590c6a64c
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Fri, 4 Aug 2023 04:17:08 +0000 (13:17 +0900)]
Release version 1.34.34
Changes:
- Fix static analysis issue
Change-Id: I11711efa348caa807d55336219ce938aaaa2549d
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 3 Aug 2023 02:32:40 +0000 (11:32 +0900)]
Fix static analysis issue
'std::time_t' to 'long' may or may not override sign-bit depending on
size of implementation defined type
which may cause unexpected results on porting to different platforms
Change-Id: I58da7b195c5215617fdad5264cd91216c8ca8700
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Sangyoon Jang [Wed, 26 Jul 2023 05:45:11 +0000 (14:45 +0900)]
Release version 1.34.33
Changes:
- Fix plugin manager
Change-Id: I41066b3666fddba9f6b89ba64a1696c699236f79
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 25 Jul 2023 01:17:39 +0000 (10:17 +0900)]
Fix plugin manager
- Parse metadata of package.
- Add some logs.
Change-Id: Id2598b65fa0aac2b346e7b5eff8d1940258513c4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 23 May 2023 07:05:40 +0000 (16:05 +0900)]
Release version 1.34.32
Changes:
- Add missing include
- Reduce the number of signal to send
Change-Id: If5356388a5346a42730576ddd476e2688b11d9bf
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 23 May 2023 01:07:05 +0000 (10:07 +0900)]
Reduce the number of signal to send
It is a waste to send a signal for every single step.
Change-Id: I4e708ea3af39e6d5867473d1d2ad368cb426cd5d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 21 Apr 2023 00:24:45 +0000 (09:24 +0900)]
Add missing include
Change-Id: Ie82fce0fad4bb2a3e2797d4202f8e131aad60c2e
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 6 Apr 2023 01:03:21 +0000 (10:03 +0900)]
Release version 1.34.31
Changes:
- Fix static analysis issue
Change-Id: I0aac94ae920c9e52b6c78f49b2481f6dc34bf732
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 6 Apr 2023 00:02:36 +0000 (09:02 +0900)]
Fix static analysis issue
Change-Id: I8b1825305bef7f9356c419d27caff0eea6153c61
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 4 Apr 2023 05:31:15 +0000 (14:31 +0900)]
Release version 1.34.30
Changes:
- Fix static analysis issues
Change-Id: I5d1320d87ea80d0a9b3e9a711bd332c81b1f7817
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 4 Apr 2023 04:52:12 +0000 (13:52 +0900)]
Fix static analysis issues
Change-Id: Ia7ccc40f56b91a54dd93108b2c189ec7f0a0452a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 3 Apr 2023 06:24:40 +0000 (15:24 +0900)]
Release version 1.34.29
Changes:
- Fix build error
Change-Id: I049efaeb57401864cc47982c0606c6361e828d19
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 3 Apr 2023 06:00:59 +0000 (15:00 +0900)]
Fix build error
Change-Id: Ied163e51445799add367f9d78e3de058a881af91
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
ilho kim [Thu, 9 Feb 2023 06:55:04 +0000 (15:55 +0900)]
Release version 1.34.28
Changes:
- Skip RegisterSecurityContextForPath in recovery
Change-Id: I191ff63c94d4a24b0bcd99ef6e5d1471969c5a16
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Tue, 10 Jan 2023 13:18:13 +0000 (22:18 +0900)]
Skip RegisterSecurityContextForPath in recovery
RegisterSecurityContextForPath call is applied to the security manager
database if "owner rw, other ro" exist in the path
In other cases, there is no need to call the function because it only
apply a smack label. Because the smack label is already applied to the
file during package recovery
Change-Id: Ice4fcab75ed67dcf3d8ecae7d4a632a36e6bfda5
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 19 Jan 2023 04:47:16 +0000 (13:47 +0900)]
Release version 1.34.27
Changes:
- Fix StepCopyBackup
Change-Id: Ifeb0caae2ea19ed3bd4fd66f0c1bee1d6a3a2aae
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 19 Jan 2023 04:42:20 +0000 (13:42 +0900)]
Fix StepCopyBackup
The operation of creating shared res directory
should be performed in NewContent, not Backup
Change-Id: Ie8eac77d94b9db6466fdfdb65f0e1be1a9aba763
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Fri, 13 Jan 2023 07:53:01 +0000 (16:53 +0900)]
Release version 1.34.26
Changes:
- Skip recover change owner
- Implement Cleanup in StepMountRecover
- Fix StepCopyBackup's undo operation
- Add FileInfoCollector class
Change-Id: Id0e24bf60727736ed4ba19b3b482772ea00ad3c1
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 3 Nov 2020 02:18:12 +0000 (11:18 +0900)]
Add FileInfoCollector class
This class is to check the installation result file status in the smoke test
Change-Id: I4853b4711f5d1b77bf158e791504df21dd9f6d76
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
ilho kim [Thu, 12 Jan 2023 00:52:13 +0000 (09:52 +0900)]
Fix StepCopyBackup's undo operation
Fix the operation of restoring the backup directory which created in the
step, the backup directory's ownership and smack label are not set
Change-Id: I6d5613461ba4c773c3450a1d61b67d4ed9f13d6b
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Thu, 12 Jan 2023 05:24:27 +0000 (14:24 +0900)]
Implement Cleanup in StepMountRecover
Implement Cleanup in StepMountRecover to remove the zip path backed up
Change-Id: Ia9e2d760dfb04598a2780f9410f41ff80c885618
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Mon, 2 Jan 2023 02:37:00 +0000 (11:37 +0900)]
Skip recover change owner
If the ownership of files is preserved when backup files
there is no need to set the ownership at package recovery
when backup files, preserve ownership using move operation
Change-Id: I63f5c4695f536050fba4db3aa0bde98a6e7d5377
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Tue, 10 Jan 2023 04:28:19 +0000 (13:28 +0900)]
Release version 1.34.25
Changes:
- Fix crash occured during ReinstallSteps
- Skip mount if zip path doesn't exist
- Refactoring private function of TzipInterface::Pimpl
- Check if it is mounted before trying mount
- Fix StepUpdateTep's undo
- Run CrashAfterEachStep with subprocess
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Change-Id: I1eed6ecf03dc508ee829f105e8e05b02a322e6c9
ilho kim [Thu, 5 Jan 2023 06:45:45 +0000 (15:45 +0900)]
Run CrashAfterEachStep with subprocess
CrashAfterEachStep function use RunFunc
to make the smoke test's main process lighter
Change-Id: Ib11a5a016a2ec4c2d5df3ba3dfb66f28c4111b22
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Mon, 9 Jan 2023 02:49:49 +0000 (11:49 +0900)]
Fix StepUpdateTep's undo
If there is no tep before updating
the tep directory itself must be removed at undo
Change-Id: I6b8e395c9f7f7758d5eb85f38cd4cbdae12fb5c0
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Wed, 4 Jan 2023 00:20:55 +0000 (09:20 +0900)]
Check if it is mounted before trying mount
Due to abnormal termination, the previously mounted path may remain
Change-Id: I20e25de24deae8a4a11e7da506eb8dfb830b0794
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Tue, 3 Jan 2023 12:56:05 +0000 (21:56 +0900)]
Refactoring private function of TzipInterface::Pimpl
"success" variable of IsMounted is meaningless
Change-Id: I5b0e0bff5c8811ab1614716702c051d75e1aa885
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Tue, 3 Jan 2023 02:13:30 +0000 (11:13 +0900)]
Skip mount if zip path doesn't exist
Mount operation fails when there is no zip path
so trying mount is useless operation
Change-Id: I5f9a556b2a770b61a63cffb49cfd491a71670dd7
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
ilho kim [Mon, 2 Jan 2023 06:40:14 +0000 (15:40 +0900)]
Fix crash occured during ReinstallSteps
ReinstallSteps don't have recovery file
Change-Id: I419fd984b62fd16e7195b7b785dcdccee26ae1be
Signed-off-by: ilho kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 22 Dec 2022 10:45:12 +0000 (19:45 +0900)]
Release version 1.34.24
Changes:
- Fix crash occured during manifest direct install
Change-Id: If754fe110d8f450c0b23c180ea2be9fada6913a2
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 22 Dec 2022 10:43:55 +0000 (19:43 +0900)]
Fix crash occured during manifest direct install
Change-Id: I6718aa9f73aaa7f9c57491364929a074192f39bf
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 22 Dec 2022 06:22:01 +0000 (15:22 +0900)]
Release version 1.34.23
Changes:
- Block different type installation with same pkgid
- Skip the security registration if it is unnecessary
- Change the file remove to a virtual function in recovery
- Fix app2sd library path
- Add log for debugging
Change-Id: I06bca71f5fa107bdd1c656d80e3cbe19869703dc
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 13 Dec 2022 08:03:11 +0000 (17:03 +0900)]
Add log for debugging
For debug performance issue
Change-Id: If11b670ae8db7f070d2508a6a49527690aa235cf
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 22 Dec 2022 05:48:33 +0000 (14:48 +0900)]
Fix app2sd library path
Use macro instead of hardcoded path.
Change-Id: I23248a2f4681044216633a45543abe23f00c9ff6
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Thu, 22 Dec 2022 06:00:01 +0000 (15:00 +0900)]
Change the file remove to a virtual function in recovery
Change-Id: I33cf3ba4141c5599dfe44c73a4c13847e16f49e0
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 16 Dec 2022 03:06:30 +0000 (12:06 +0900)]
Skip the security registration if it is unnecessary
If recovery occurs due to termination of update
before security registration performed with information
about a new package in the update case
the security registration for the original package is skiped
because it is unnecessary
Change-Id: Ic1ac7f0f4ba213c73d61dd1819f543fb28d0b768
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 7 Dec 2022 08:13:41 +0000 (17:13 +0900)]
Block different type installation with same pkgid
Change-Id: Ia33f3be69f1441b5ec79c0a0d9a5fe9f9eca9062
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 10 Nov 2022 07:32:25 +0000 (16:32 +0900)]
Release version 1.34.22
Changes:
- Fix build error
Change-Id: I7ca4b7964f307d2e75424b20b57b9bc1f3681d6c
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 10 Nov 2022 07:25:10 +0000 (16:25 +0900)]
Fix build error
lambda-expression in unevaluated context only available with '-std=c++2a' or '-std=gnu++2a'
Change-Id: I0248a386e0899fb3db9181417106de1edcdddd87
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 10 Nov 2022 02:40:35 +0000 (11:40 +0900)]
Release version 1.34.21
Changes:
- Remove duplicate api call of clear cache memory
- Merge SmokeTestHelperRunner into BackendInterface
- Add RunFunc to Subprocess for just executing function
- Move GetLightUserList() to user_util.h
- Fix getting light user list
Change-Id: I9547975ff2e971901256ee7ad2abaed7fb0a6824
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 10 Nov 2022 01:35:25 +0000 (10:35 +0900)]
Fix getting light user list
Get light user list by subsession directory name instead of using
sessiond API because of performance issue.
Change-Id: I16fdddae01045424cbf10fe87aa08facaa7680dd
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 10 Nov 2022 00:34:59 +0000 (09:34 +0900)]
Move GetLightUserList() to user_util.h
Change-Id: Ie58b1fbda5936b4c7172cb09609c0b7290da90df
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 14 Oct 2022 01:15:28 +0000 (10:15 +0900)]
Add RunFunc to Subprocess for just executing function
TestRollbackAfterEachStep function use RunFunc
to make the smoke test's main process lighter
Change-Id: I8ce453645d0581be69847f96b79578492838e07d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 13 Oct 2022 10:19:25 +0000 (19:19 +0900)]
Merge SmokeTestHelperRunner into BackendInterface
Change-Id: I1c3984c0d891d876980dc77f949939f57d42c40c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 18 Oct 2022 11:20:59 +0000 (20:20 +0900)]
Remove duplicate api call of clear cache memory
After ther installeation is complete
The SendFinish function call the api
Change-Id: I3c912aec2d70c446b934eecf562dff7a86b8860b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Hwankyu Jhun [Wed, 19 Oct 2022 08:12:10 +0000 (08:12 +0000)]
Release version 1.34.20
Changes:
- Modify sending AUL signal
Change-Id: Ie8b085d16dd322f782901a44127a26eacfba2f0f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 13 Oct 2022 10:43:10 +0000 (10:43 +0000)]
Modify sending AUL signal
Currently, the installer sends all events to AMD. AMD only needs
'start', 'error' and 'end' events.
This patch modifies sending events.
Change-Id: Ia436b72762dff3c66d7162df830b9bb23509759e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Ilho Kim [Fri, 23 Sep 2022 10:29:41 +0000 (19:29 +0900)]
Release version 1.34.19
Changes:
- Fix Recovery of ReadonlyUpdateInstall package's update
Change-Id: I3bc59f0439ab3dc98cc7c1ab6311e854f9bef77e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 21 Sep 2022 10:35:03 +0000 (19:35 +0900)]
Fix Recovery of ReadonlyUpdateInstall package's update
Fix that the package system attribute is changed
when recovery is performed becuase the installer is terminated during
the update of the ReadonlyUpdateInstalled package
Change-Id: I23d2afb9a73864f0da286bdb430cd792f583b833
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 20 Sep 2022 06:39:12 +0000 (15:39 +0900)]
Release version 1.34.18
Changes:
- Fix static analysis issue
Change-Id: I8d3cddd146792caedb64488da64517f72bdad54b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 20 Sep 2022 02:13:15 +0000 (11:13 +0900)]
Fix static analysis issue
Change-Id: I2c7e53e9479bd7d8f121d0eb02a505b24450e211
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Wed, 14 Sep 2022 07:17:27 +0000 (16:17 +0900)]
Release version 1.34.17
Changes:
- Run MountInstall when xml file is not exist
- Implement recovery of ReadonlyUpdateUninstall
- Fix RecoverStorageDirectories
Change-Id: Ifbd8b82555211b75c682ba1a103d1ce69617d093
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 14 Sep 2022 06:44:32 +0000 (15:44 +0900)]
Fix RecoverStorageDirectories
Because security has been registered again during recovery
security registration should also be performed for the shared data paths
Change-Id: Ic0ed4eca2bd0288fdc533ca4c4092344c918daee
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 13 Sep 2022 12:51:59 +0000 (21:51 +0900)]
Implement recovery of ReadonlyUpdateUninstall
Change-Id: Ibf742a8003f5d0148d98845360b15e84c0fcd1f7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 8 Sep 2022 11:18:28 +0000 (20:18 +0900)]
Run MountInstall when xml file is not exist
Change-Id: If5af96808e4bb5bd37ad92e91adcec237af2e9db
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Changgyu Choi [Wed, 7 Sep 2022 00:28:23 +0000 (09:28 +0900)]
Release version 1.34.16
Changes:
- Modify to generate SIGKILL instead of SIGSEGV in StepCrash
- Add pre sending pkg event to amd
Change-Id: I25f24cd83a7c780458ce42f6f7827624090cb852
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 7 Sep 2022 00:25:41 +0000 (00:25 +0000)]
Merge "Add pre sending pkg event to amd" into tizen
Changgyu Choi [Fri, 26 Aug 2022 08:21:21 +0000 (17:21 +0900)]
Add pre sending pkg event to amd
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/aul-1/+/280292
Change-Id: I91c1baac158b81ed48cd27ebfab315dc4e794933
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Ilho Kim [Wed, 24 Aug 2022 07:12:02 +0000 (16:12 +0900)]
Modify to generate SIGKILL instead of SIGSEGV in StepCrash
When performing the smoke test
many processes are terminated due to SIGSEGV and coredump is generated
this can cause a lot of load on the system, so it is replaced with SIGKILL
Change-Id: I54d8820097ba2c0a48d48d2185f0277b70f993f2
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 1 Sep 2022 02:29:12 +0000 (11:29 +0900)]
Release version 1.34.15
Changes:
- Fix validating light user name
Change-Id: Id1fea31f5ea5283d1f2862fb6e53e41492410bc8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 1 Sep 2022 01:56:01 +0000 (10:56 +0900)]
Fix validating light user name
Comparing an array to null is always true.
Change-Id: I095222187dc6bbc9dbf188227265381e589b1005
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Wed, 24 Aug 2022 08:57:21 +0000 (17:57 +0900)]
Release version 1.34.14
Changes:
- Add exception handling to StepSignature
- Implement undo of RemovePerUserStorageDirectories
- Add parameter to StepRemovePerUserStorageDirectories
Change-Id: I05ec0cfd7c852fedba6427b0adfb1a39fc6f322d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 5 Jul 2022 12:24:03 +0000 (21:24 +0900)]
Add parameter to StepRemovePerUserStorageDirectories
This step's undo operation use StepCreateStorageDirectories
and StepCreateStorageDirectories can be execute with additional parameter
Change-Id: I86d80ede3df46985342daaa8e8c8bcbcdaf68083
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 30 Jun 2022 06:16:28 +0000 (15:16 +0900)]
Implement undo of RemovePerUserStorageDirectories
If the uninstallation is failed after this step,
there is a problem that the user directory remains erased
so recreate the user directories removed by this step
Change-Id: Ic346217ab1cb971645bff44653027e545a430923
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 24 Aug 2022 07:06:17 +0000 (16:06 +0900)]
Add exception handling to StepSignature
If StepSignature's precheck fails, the variable 'signature_' is not initialized
Change-Id: Ie605111e8572e6d7ccf5e8e161fa5e6f29b13dee
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 5 Aug 2022 08:33:56 +0000 (17:33 +0900)]
Release version 1.34.13
Changes:
- Fix error log correctly
- Clear memory db before sending the finish signal
Change-Id: I39946e21090395a778e20a24d88438fe14733636
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 5 Aug 2022 06:13:12 +0000 (15:13 +0900)]
Clear memory db before sending the finish signal
Because installer can write to db during undo or clear operation
such as UninstallSteps, the client who received the finish signal
may take the wrong package information
Change-Id: I62d674e4b37692fabdee45287c99dce202616b87
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 27 Jul 2022 06:01:57 +0000 (15:01 +0900)]
Fix error log correctly
Change-Id: Ib17f39cd72f89c170de841563e3074c5594afd66
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 18 Jul 2022 05:08:40 +0000 (14:08 +0900)]
Release version 1.34.12
Changes:
- Skip default light user when getting light user list
Change-Id: I80bf220a40812840db7215fd6f15d89cce08880f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>