summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Karol Lewandowski [Wed, 26 Jan 2022 09:34:24 +0000 (10:34 +0100)]
packaging: Move rstsmack to separate package
This will allow for rstsmack to be installed even if factory-reset isn't.
Change-Id: I21663e665011d1a54a226862726878329ce2998d
INSUN PYO [Wed, 26 May 2021 07:51:17 +0000 (16:51 +0900)]
Clean up the code
Change-Id: I6ef191e5e5094f2aad84913e78f499590e37c640
INSUN PYO [Wed, 19 May 2021 23:44:05 +0000 (08:44 +0900)]
Modify indentation
Change-Id: I6f1d9a726fb022912b58f498a79f337ea2235ae3
DongHun Kwak [Mon, 29 Mar 2021 05:33:49 +0000 (14:33 +0900)]
Fix coverity issue
Change-Id: I4b8f2a32eb703e39f62b0a1e4d119bfc3a068c5a
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Kiseok Chang [Wed, 17 Feb 2021 01:34:46 +0000 (01:34 +0000)]
Merge "Fix potential error in codes to insert null" into tizen
kiso.chang [Tue, 16 Feb 2021 09:42:41 +0000 (18:42 +0900)]
Fix potential error in codes to insert null
Change-Id: I8939a923620809846ac9fb6ab09a2dd3ae0dec4a
Signed-off-by: kiso.chang <kiso.chang@samsung.com>
kiso.chang [Tue, 9 Feb 2021 05:54:15 +0000 (14:54 +0900)]
Fix grammatical error in script
- run-factory-reset.sh
Change-Id: I08ee63ad7319d6730891942a85465ffaeea4b728
Signed-off-by: kiso.chang <kiso.chang@samsung.com>
kiso.chang [Tue, 9 Feb 2021 05:54:15 +0000 (14:54 +0900)]
Fix grammatical error in script
- run-factory-reset.sh
Change-Id: I08ee63ad7319d6730891942a85465ffaeea4b728
Signed-off-by: kiso.chang <kiso.chang@samsung.com>
kiso.chang [Thu, 4 Feb 2021 07:05:58 +0000 (16:05 +0900)]
umount usb(otg) memory before delete files in/opt
Change-Id: I24876cd87855bd03f8bf5a9e42ed351840c6bd9e
Signed-off-by: kiso.chang <kiso.chang@samsung.com>
kiso.chang [Thu, 4 Feb 2021 07:05:58 +0000 (16:05 +0900)]
umount usb(otg) memory before delete files in/opt
Change-Id: I24876cd87855bd03f8bf5a9e42ed351840c6bd9e
Signed-off-by: kiso.chang <kiso.chang@samsung.com>
Kiseok Chang [Mon, 29 Jun 2020 23:56:13 +0000 (08:56 +0900)]
Leave comments for umask 0000
- the reason to add 'umask 0000' before extract opt.zip (or opt.tar.gz)
Change-Id: Ie059460af4522a0aa9eee078e8d75943e2f6f202
Signed-off-by: Kiseok Chang <kiso.chang@samsung.com>
Youngjae Shin [Mon, 29 Jun 2020 10:28:32 +0000 (19:28 +0900)]
fix a problem with dbspace
reset mask for keeping file permission
Change-Id: I4b2f864ee8a7f8b825724f4045df672a79fd9a1f
Kiseok Chang [Tue, 23 Jun 2020 09:28:10 +0000 (18:28 +0900)]
change dir path for 64-bit build
Change-Id: Iecb47e0642b4e43fb2e4c0dfe6055cf56b17b6e4
Signed-off-by: Kiseok Chang <kiso.chang@samsung.com>
Kiseok Chang [Fri, 12 Jun 2020 04:21:57 +0000 (13:21 +0900)]
Remove script lines for clock, memo, contacts
Change-Id: Ic3172cab137bc5b9b7d17ffd2683b5bfe18345c8
Signed-off-by: Kiseok Chang <kiso.chang@samsung.com>
Kiseok Chang [Thu, 11 Jun 2020 08:38:55 +0000 (17:38 +0900)]
Support aarch64 build
Change-Id: I889a469f857dee19a380dcd01deaa00b1d5e40ae
Signed-off-by: Kiseok Chang <kiso.chang@samsung.com>
sanghyeok.oh [Tue, 21 Apr 2020 12:55:45 +0000 (21:55 +0900)]
[fix] Rename dbus auto-activation service file
Naming rule for dbus auto-activation service file : well-known name + ".service"
https://bugs.freedesktop.org/show_bug.cgi?id=99874
Change-Id: Icde56581d910c2534d4c4c96b2e7100e4670b5f7
Hyotaek Shim [Mon, 29 Jul 2019 05:31:04 +0000 (14:31 +0900)]
Rearrange factory-reset.service from multi-user.target to delayed.target
Change-Id: I435a8323253108bc7b192fc04282e20ec86bc17a
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
INSUN PYO [Mon, 8 Jul 2019 11:20:32 +0000 (20:20 +0900)]
Delete meaningless configuration
Change-Id: I0e2341b8528a4531d2ebe0ab37852a214db7a774
Kiseok Chang [Wed, 22 May 2019 04:42:16 +0000 (13:42 +0900)]
Add packaging/org.tizen.factory-reset.conf
Change-Id: Ib2886d18c172242ec7697fdbe83cfce6fc20db16
jinwang.an [Fri, 19 Apr 2019 10:01:49 +0000 (19:01 +0900)]
Add PATH env to script for security
Change-Id: I057dc4749fdf1e064eb4ea70713dec1be1c776b9
Signed-off-by: jinwang.an <jinwang.an@samsung.com>
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>
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>
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
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>
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>
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>
MyoungJune Park [Thu, 23 Nov 2017 21:36:07 +0000 (21:36 +0000)]
Merge "Grant capabilities to perform factory reset" into tizen
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>
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>
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>
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
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>
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
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>
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>
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>
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>
Youngjae Shin [Mon, 25 Sep 2017 04:37:50 +0000 (13:37 +0900)]
fix build warning and coding rule error
Change-Id: If2745e44e6cb8843b825eb1c25fa7ac9dfe489d6
MyoungJune Park [Mon, 18 Sep 2017 08:32:31 +0000 (17:32 +0900)]
remove setuid(0)
Change-Id: I363f816b16ca2dbcb8f3642e18f14e22a65323c5
MyoungJune Park [Fri, 11 Aug 2017 10:36:58 +0000 (19:36 +0900)]
apply ASLR options
Change-Id: I4ca0ed31c48710b5512a3cb237fbb2f6a11b047a
MyoungJune Park [Wed, 26 Jul 2017 02:31:05 +0000 (11:31 +0900)]
add zip as a dependency
Change-Id: Ice4c762d14c22fe5d08adc5c20d902a022dc9c37
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>
MyoungJune Park [Mon, 24 Jul 2017 12:13:41 +0000 (21:13 +0900)]
add util-linux as a dep
Change-Id: I3c073c6b9c7c39e666a09625fb48133958ae1349
MyoungJune Park [Mon, 10 Jul 2017 01:46:18 +0000 (10:46 +0900)]
update License field in .spec
Change-Id: Ifbbdfb5141bb332c7cd7a5ed676195c08d4875e1
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>
Jong Jeong Kim [Thu, 25 Aug 2016 00:31:43 +0000 (17:31 -0700)]
Initial empty repository