platform/core/system/system-recovery.git
3 years agoTry to detect USB drive a few times 21/239121/2 submit/tizen/20200722.064325
Kichan Kwon [Wed, 22 Jul 2020 02:59:51 +0000 (11:59 +0900)]
Try to detect USB drive a few times

Change-Id: I71c3b5b5498bf7c8eb0e1eca138937180fffef34
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
3 years agoWrite current progress to file 75/238575/3
Kichan Kwon [Wed, 15 Jul 2020 07:55:16 +0000 (16:55 +0900)]
Write current progress to file

- File path : /tmp/recovery_progress
- Write percentage : 1 ~ 100(%)

Change-Id: Ifdb715e714688673f3b171e73dfb6662beb91457
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
3 years agoAdd system-recovery binary for USB recovery 71/238571/4
Kichan Kwon [Tue, 14 Jul 2020 07:30:07 +0000 (16:30 +0900)]
Add system-recovery binary for USB recovery

- Find recovery image on USB storage
- Fuse images to the appropriate device
  refering to config file
  - Config file is included in recovery image
  - Config file format : [LABEL] [IMG_BASENAME] [DEVICE_PATH]

Change-Id: I7e2d3d3dd6f04c273179b267c6cb611a1ed6542e
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
3 years agoRemove all files except recovery-init 58/238458/2
Kichan Kwon [Tue, 14 Jul 2020 06:18:08 +0000 (15:18 +0900)]
Remove all files except recovery-init

- GUI will be implemented by others

Change-Id: Ieb3c77d56c12aebd5a30ce2750824ea2f6bb51ee
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
3 years agoMount USB storage 75/238275/1
Kichan Kwon [Fri, 10 Jul 2020 03:34:35 +0000 (12:34 +0900)]
Mount USB storage

- Mount /dev/sdXX
- Mount only ext4 or vfat file system
- Mountpoint : /opt/media/USBDriveXX
  - Same with storaged

Change-Id: I7c2fb5b83f0c63a39979189bfe0bddc8a4273f03
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
3 years agoEnable 64 bit 30/236230/1 accepted/tizen/unified/20200616.041008 accepted/tizen/unified/20200727.091516 accepted/tizen/unified/20200728.062744 submit/tizen/20200616.030922 submit/tizen/20200727.091055 submit/tizen/20200728.052705
Kunhoon Baik [Tue, 16 Jun 2020 01:17:50 +0000 (10:17 +0900)]
Enable 64 bit

Tizen will support 64 bit binary officially.
System-Recovery will be included to initrd-recovery partition.
Although initrd-recovery partition size is exceeded, System-Recovery will be applied

Change-Id: I783499d85e63de31f5a2dcf3541a6e09d64e56b0

4 years agoFix a potential nullptr dereference 77/224977/1 accepted/tizen/unified/20200218.145910 submit/tizen/20200214.102415 submit/tizen/20200214.134348 submit/tizen/20200217.104822 submit/tizen/20200217.110047
Michal Bloch [Fri, 14 Feb 2020 10:19:11 +0000 (11:19 +0100)]
Fix a potential nullptr dereference

Change-Id: I275822967bd3cc91214cacaf24fbc8bb223cd96c
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
4 years agoFix const placement in a declaration 47/221547/1 accepted/tizen/unified/20200108.131431 submit/tizen/20200107.104336
Karol Lewandowski [Fri, 3 Jan 2020 11:14:28 +0000 (12:14 +0100)]
Fix const placement in a declaration

This fixes gcc 9.x compilation failure.

Change-Id: Ie44868d5914f1d6cef2a2c39b4355f48f6749417

4 years agorecovery-action-set: set PATH exactly as security team requires 47/212447/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191031.004308 accepted/tizen/5.5/unified/mobile/hotfix/20201027.075716 accepted/tizen/5.5/unified/wearable/hotfix/20201027.110758 accepted/tizen/unified/20190822.045414 submit/tizen/20190821.165602 submit/tizen_5.5/20191031.000010 submit/tizen_5.5_mobile_hotfix/20201026.185105 submit/tizen_5.5_wearable_hotfix/20201026.184305 tizen_5.5.m2_release
Karol Lewandowski [Wed, 21 Aug 2019 11:59:04 +0000 (13:59 +0200)]
recovery-action-set: set PATH exactly as security team requires

Change-Id: I3604f3c153b1138989805a6f5575849fdcb5310a

5 years agorecovery-action-set: set default PATH 04/204004/1 accepted/tizen/unified/20190419.110533 submit/tizen/20190418.151116
Karol Lewandowski [Thu, 18 Apr 2019 09:50:35 +0000 (11:50 +0200)]
recovery-action-set: set default PATH

Suggested by Security team.

Change-Id: I0ca221986644882dd359f671b2e7689b3f6332dd

5 years agorelease : 0.3.0 81/181181/3 accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20181102.021047 accepted/tizen/unified/20180612.130812 submit/tizen/20180611.014532 submit/tizen_5.0/20181101.000004
Kichan Kwon [Mon, 11 Jun 2018 01:33:50 +0000 (10:33 +0900)]
release : 0.3.0

Change-Id: Ia24b47673f4295652c5a512490f2ebdd1c570b41
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
6 years agoInitial source 48/178848/1
Kichan Kwon [Mon, 14 May 2018 08:14:09 +0000 (17:14 +0900)]
Initial source

Change-Id: I22b9a4f8d1082d85290ddc51c50bd816e433d98e
Signed-off-by: Kichan Kwon <k_c.kwon@samsung.com>
6 years agoInitial empty repository master
Tizen Infrastructure [Mon, 14 May 2018 06:36:55 +0000 (06:36 +0000)]
Initial empty repository