platform/core/system/factory-reset.git
6 years agoConsider 2-partition binaries 02/164802/1 accepted/tizen_4.0_unified tizen_4.0 accepted/tizen/4.0/unified/20180111.045921 submit/tizen_4.0/20180104.105600 tizen_4.0.IoT.p2_release
Sunmin Lee [Thu, 21 Dec 2017 05:49:19 +0000 (14:49 +0900)]
Consider 2-partition binaries

Some platform binaries which are based on 2-partition
do not have user partition.
This patch considers the operation of factory-reset on
such binaries.

Change-Id: I3f104fc2ad96d8d5a510007943eca59a90290614
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoGrant capabilities to perform factory reset 69/164669/1 accepted/tizen/4.0/unified/20171221.070926 submit/tizen_4.0/20171220.081813
Konrad Kuchciak [Tue, 7 Nov 2017 11:08:37 +0000 (12:08 +0100)]
Grant capabilities to perform factory reset

Change-Id: I6560b71261d55592eb179fe2c2095bd98763479c
Signed-off-by: Konrad Kuchciak <k.kuchciak@samsung.com>
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
6 years agoMerge "split userdata-backup pkg from factory-reset" into tizen_4.0 accepted/tizen/4.0/unified/20171220.064247 submit/tizen_4.0/20171213.213624
MyoungJune Park [Wed, 13 Dec 2017 21:32:58 +0000 (21:32 +0000)]
Merge "split userdata-backup pkg from factory-reset" into tizen_4.0

6 years agoupdate smack rule for factory-reset-launch.service 06/163706/1 accepted/tizen/4.0/unified/20171214.050422 submit/tizen_4.0/20171213.082418
MyoungJune Park [Wed, 13 Dec 2017 03:47:37 +0000 (12:47 +0900)]
update smack rule for factory-reset-launch.service

System --> System::Privileged

Change-Id: I6e9778241ab15eab3e5df07ee5fa70ffc629952e

6 years agosplit userdata-backup pkg from factory-reset 13/163513/2 submit/tizen_4.0/20171213.020601
MyoungJune Park [Fri, 8 Dec 2017 03:11:07 +0000 (12:11 +0900)]
split userdata-backup pkg from factory-reset

Change-Id: I43421fee696927912710b03ea42c476519016be9
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
6 years agoUse filesystem label instead of partition label 72/163372/1 accepted/tizen/4.0/unified/20171211.061450 submit/tizen_4.0/20171211.015502
Sunmin Lee [Fri, 3 Nov 2017 03:21:55 +0000 (12:21 +0900)]
Use filesystem label instead of partition label

In some platform targets, partition label is not set.
Because filesystem label is available for all targets,
it is better to be used.

Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
(cherry picked from commit 0cb743032addad41c2dc73cc2101e62216d58c8c)

Change-Id: I26bd4444359d2d3f82c3a396b6f402eb465b087e

6 years agorstsmack: Bug fix 21/162921/2 submit/tizen_4.0/20171206.085716
Sunmin Lee [Wed, 6 Dec 2017 07:39:55 +0000 (16:39 +0900)]
rstsmack: Bug fix

Fix bug of rstsmack

Change-Id: Idfb1c01e16463002a442c0097eff70182ebad4ff
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoadd exception handler for sscanf 68/158768/1 accepted/tizen/4.0/unified/20171109.065800 submit/tizen_4.0/20171103.031359
MyoungJune Park [Fri, 3 Nov 2017 02:39:05 +0000 (11:39 +0900)]
add exception handler for sscanf

Change-Id: I2f6576898e17ef093d5189bc920275b087bba5b1

7 years agoMerge branch 'tizen' into tizen_4.0 44/158644/1 accepted/tizen/4.0/unified/20171103.030250 submit/tizen_4.0/20171102.082126 submit/tizen_4.0/20171102.082244 submit/tizen_4.0/20171102.101350
MyoungJune Park [Thu, 2 Nov 2017 08:19:37 +0000 (17:19 +0900)]
Merge branch 'tizen' into tizen_4.0

Change-Id: Idbdf974a747664573889fc1a32e5026a9c2e4564
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
7 years agochange a method to get partition info 13/158113/1 accepted/tizen/unified/20171031.175038 submit/tizen/20171031.030559
MyoungJune Park [Mon, 30 Oct 2017 01:52:19 +0000 (10:52 +0900)]
change a method to get partition info

Change-Id: I40943fe418ce723041e2023c88f08b34a2ba90bc
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
7 years agoWorkaround patch for fixing repeated reboot problem after triggering on-boot factory... 12/158112/1
Kunhoon Baik [Mon, 23 Oct 2017 06:33:32 +0000 (15:33 +0900)]
Workaround patch for fixing repeated reboot problem after triggering on-boot factory-reset

There are two factory-reset modes
1) By setting application
2) By system recovery

In case of system recovery, system recovery make a file (/opt/.factoryreset)
for triggering on-boot factory-reset.

However, current script & program does not remove the file after factory-reset is finished.
This patch is just workaround, and it should be modified by maintainer.

Change-Id: I19bae97c659bf968334bd2fa1e589c5728ecda63

7 years agoremove UI deps for common dev 00/158100/1 accepted/tizen/unified/20171030.055809 submit/tizen/20171030.002947
MyoungJune Park [Mon, 30 Oct 2017 00:24:35 +0000 (09:24 +0900)]
remove UI deps for common dev

Change-Id: Id0885d5d0685992f62e0b3660fc9fcb9325ddbef
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
7 years agoMerge branch 'tizen' into tizen_4.0 41/156041/1 accepted/tizen/4.0/unified/20171026.152936 submit/tizen_4.0/20171024.024839 tizen_4.0.m2_release
MyoungJune Park [Tue, 17 Oct 2017 04:54:29 +0000 (13:54 +0900)]
Merge branch 'tizen' into tizen_4.0

Change-Id: If92595194f826fad3b0cd499b3b6ee60c1e436d9
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
7 years agoadd smack rule desc to factory-reset-launch.service 40/156040/1 accepted/tizen/unified/20171024.071403 submit/tizen/20171023.024928
MyoungJune Park [Tue, 17 Oct 2017 04:53:29 +0000 (13:53 +0900)]
add smack rule desc to factory-reset-launch.service

Change-Id: Ifefe9ed63c72fbc34e4dd7ebc8dfd67bcac8f7e3

7 years agoMerge branch 'tizen' into tizen_4.0 32/156032/1 accepted/tizen/4.0/unified/20171017.212532 submit/tizen_4.0/20171017.043938
MyoungJune Park [Tue, 17 Oct 2017 04:38:43 +0000 (13:38 +0900)]
Merge branch 'tizen' into tizen_4.0

Change-Id: I90d928204c78968c115f4f6c6737451f8abf46d0
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
7 years agoremove User Group conf 20/156020/2 accepted/tizen/unified/20171017.204702 submit/tizen/20171017.043831
MyoungJune Park [Tue, 17 Oct 2017 03:22:34 +0000 (12:22 +0900)]
remove User Group conf

Change-Id: I26696670cdaca4dd2c07506ef5615b65e806f983
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
7 years agoupdate smack privilege 12/156012/2
MyoungJune Park [Tue, 17 Oct 2017 03:05:31 +0000 (12:05 +0900)]
update smack privilege

- System -> System::Privileged
- update manifest file

Change-Id: If4739623d5150a5fac1355245b5bc19914c52b36
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
7 years agoupdate serivce file 50/152850/2
MyoungJune Park [Wed, 27 Sep 2017 08:27:53 +0000 (17:27 +0900)]
update serivce file

Change-Id: Ib7bf8af1f8a5253beec3c7296c9d2aa56d8fa64d
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
7 years agoreplace localtime with localtime_r for thread safety 84/152484/2 accepted/tizen/4.0/unified/20171010.064254 submit/tizen_4.0/20171010.011502 tizen_4.0.IoT.p1_release
MyoungJune Park [Tue, 26 Sep 2017 07:57:22 +0000 (16:57 +0900)]
replace localtime with localtime_r for thread safety

Change-Id: I955f2074f63dc8c4979dde8267c451325c3e7228
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
7 years agoreplace localtime with localtime_r for thread safety 83/152483/2 accepted/tizen/unified/20171012.075004 submit/tizen/20171010.011616
MyoungJune Park [Tue, 26 Sep 2017 07:57:22 +0000 (16:57 +0900)]
replace localtime with localtime_r for thread safety

Change-Id: I955f2074f63dc8c4979dde8267c451325c3e7228
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
7 years agofix build warning and coding rule error 53/152453/1 accepted/tizen/4.0/unified/20170926.171841 submit/tizen_4.0/20170926.073141
Youngjae Shin [Mon, 25 Sep 2017 04:37:50 +0000 (13:37 +0900)]
fix build warning and coding rule error

Change-Id: If2745e44e6cb8843b825eb1c25fa7ac9dfe489d6

7 years agofix build warning and coding rule error 71/152071/2 accepted/tizen/unified/20170926.165801 submit/tizen/20170926.073310
Youngjae Shin [Mon, 25 Sep 2017 04:37:50 +0000 (13:37 +0900)]
fix build warning and coding rule error

Change-Id: If2745e44e6cb8843b825eb1c25fa7ac9dfe489d6

7 years agoremove setuid(0) 79/150679/1 accepted/tizen/4.0/unified/20170920.081400 submit/tizen_4.0/20170918.083421
MyoungJune Park [Mon, 18 Sep 2017 08:32:31 +0000 (17:32 +0900)]
remove setuid(0)

Change-Id: I363f816b16ca2dbcb8f3642e18f14e22a65323c5

7 years agoremove setuid(0) 78/150678/1 accepted/tizen/unified/20170920.081043 submit/tizen/20170918.083400
MyoungJune Park [Mon, 18 Sep 2017 08:32:31 +0000 (17:32 +0900)]
remove setuid(0)

Change-Id: I363f816b16ca2dbcb8f3642e18f14e22a65323c5

7 years agoapply ASLR options 20/143820/1 accepted/tizen/4.0/unified/20170829.020112 accepted/tizen/unified/20170816.160049 submit/tizen/20170811.110345 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
MyoungJune Park [Fri, 11 Aug 2017 10:36:58 +0000 (19:36 +0900)]
apply ASLR options

Change-Id: I4ca0ed31c48710b5512a3cb237fbb2f6a11b047a

7 years agoadd zip as a dependency 62/140662/1 accepted/tizen/4.0/unified/20170816.013426 accepted/tizen/4.0/unified/20170816.015928 accepted/tizen/unified/20170726.135835 submit/tizen/20170726.023159 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
MyoungJune Park [Wed, 26 Jul 2017 02:31:05 +0000 (11:31 +0900)]
add zip as a dependency

Change-Id: Ice4c762d14c22fe5d08adc5c20d902a022dc9c37

7 years agofix the path of utilities in .spec 79/140379/1 accepted/tizen/unified/20170725.173950 submit/tizen/20170725.021117
MyoungJune Park [Tue, 25 Jul 2017 02:04:50 +0000 (11:04 +0900)]
fix the path of utilities in .spec

/bin/tar -> /usr/bin/tar
/bin/ps -> /usr/bin/ps
/bin/grep -> /usr/bin/grep
/bin/sleep -> /usr/bin/sleep
/bin/mount -> /usr/bin/mount
/bin/umount -> /usr/bin/umount

Change-Id: I855f30ee4da570289e5c5677b553daef833bdcfe
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
7 years agoadd util-linux as a dep 23/140323/1 submit/tizen/20170724.121557
MyoungJune Park [Mon, 24 Jul 2017 12:13:41 +0000 (21:13 +0900)]
add util-linux as a dep

Change-Id: I3c073c6b9c7c39e666a09625fb48133958ae1349

7 years agoupdate License field in .spec 11/137811/1 accepted/tizen/unified/20170721.043852 submit/tizen/20170721.022350
MyoungJune Park [Mon, 10 Jul 2017 01:46:18 +0000 (10:46 +0900)]
update License field in .spec

Change-Id: Ifbbdfb5141bb332c7cd7a5ed676195c08d4875e1

7 years agoinit code 32/133332/3
MyoungJune Park [Mon, 27 Mar 2017 04:37:59 +0000 (13:37 +0900)]
init code

Change-Id: Ie6cb5cdbcabca325d23d3a230027d40f67c09644
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
8 years agoInitial empty repository master
Jong Jeong Kim [Thu, 25 Aug 2016 00:31:43 +0000 (17:31 -0700)]
Initial empty repository