platform/core/system/factory-reset.git
6 years agodelete tizen-boot.target unit in service script 74/189174/1 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.021106 accepted/tizen/unified/20180914.143108 submit/tizen/20180914.055932 submit/tizen_5.0/20181101.000004
Kiseok Chang [Fri, 14 Sep 2018 04:29:45 +0000 (13:29 +0900)]
delete tizen-boot.target unit in service script

 - deleted : Before=tizen-boot.target

Change-Id: I9676c25418df9a10a8968b1f9f18ba6fae202ce3
Signed-off-by: Kiseok Chang <kiso.chang@samsung.com>
6 years agoRemove dependency on dbus-glib-1 02/175802/1 accepted/tizen/unified/20180416.213918 submit/tizen/20180413.004809
Kiseok Chang [Thu, 12 Apr 2018 10:22:58 +0000 (19:22 +0900)]
Remove dependency on dbus-glib-1

Change-Id: I80d38697c2fc9a5e3014fb351311b91aecc82c85
Signed-off-by: Kiseok Chang <kiso.chang@samsung.com>
6 years agoupdate smack rule for factory-reset-launch.service 05/163705/1 accepted/tizen/unified/20171218.072311 submit/tizen/20171215.062200
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 11/163211/2
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 agoSave rstsmack errors to logfile 14/159214/2 accepted/tizen/unified/20171204.072249 submit/tizen/20171204.003554
Konrad Kuchciak [Tue, 7 Nov 2017 11:27:17 +0000 (12:27 +0100)]
Save rstsmack errors to logfile

This helps a lot in troubleshooting.

Change-Id: I464067300cd46dc1b3f91056bf69e39fe4e69b8d
Signed-off-by: Konrad Kuchciak <k.kuchciak@samsung.com>
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
6 years agoRemove ": No smack property found" from smack_label.txt 41/159541/2
Konrad Kuchciak [Thu, 9 Nov 2017 12:53:15 +0000 (13:53 +0100)]
Remove ": No smack property found" from smack_label.txt

List of smack labels is generated by chsmack and the output is stored in
smack_label.txt. When ex. /opt/etc/shadow doesn't have any smack labels
during image creation chsmack produces output like:

opt/etc/shadow: No smack property found

, which is then interpreted by rstsmack as one long filename. And
instead of setting default smack label "_" to the file it does nothing.
Finally, after the factory reset, the file has "System::Privileged"
label which was set during unzipping opt and it causes the whole User
session to fail at system startup.

This is a workaround patch.

Change-Id: I67c3884cdbaec912a08d8979488681931b1e2513
Signed-off-by: Konrad Kuchciak <k.kuchciak@samsung.com>
6 years agoMerge "Grant capabilities to perform factory reset" into tizen accepted/tizen/unified/20171124.064658 submit/tizen/20171123.214840
MyoungJune Park [Thu, 23 Nov 2017 21:36:07 +0000 (21:36 +0000)]
Merge "Grant capabilities to perform factory reset" into tizen

7 years agoGrant capabilities to perform factory reset 12/159212/1
Konrad Kuchciak [Tue, 7 Nov 2017 11:08:37 +0000 (12:08 +0100)]
Grant capabilities to perform factory reset

Change-Id: Ib66debfc114f7f0a5f374791585955f55e5362e6
Signed-off-by: Konrad Kuchciak <k.kuchciak@samsung.com>
7 years agoUse filesystem label instead of partition label 81/160781/1 accepted/tizen/unified/20171120.151303 submit/tizen/20171120.060354
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.

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