platform/core/system/initrd-fota.git
6 years agoMerge branch 'tizen_4.0' into tizen 67/159367/1 accepted/tizen/unified/20171109.124902 submit/tizen/20171109.022650
Sunmin Lee [Wed, 8 Nov 2017 10:33:59 +0000 (19:33 +0900)]
Merge branch 'tizen_4.0' into tizen

- Unify update parameter to fota
- Disable debugging mode for upgrade failure

Change-Id: I7b9f8026e6f092994576d69c0f94c2ca21f28479

6 years agoDisable debugging mode for upgrade failure 65/159365/1 accepted/tizen/4.0/unified/20171110.071342 submit/tizen_4.0/20171109.022626
Sunmin Lee [Wed, 8 Nov 2017 08:59:41 +0000 (17:59 +0900)]
Disable debugging mode for upgrade failure

The debugging mode for upgrade failure is not necessary anymore.

Change-Id: I242026e03f1f93bc9e9568fe0cf5217d91e74047
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoUnify update parameter to fota 59/158759/1
Sunmin Lee [Fri, 3 Nov 2017 01:18:27 +0000 (10:18 +0900)]
Unify update parameter to fota

It was decided that the "fota" is the update parameter for
all target.

Change-Id: I8d2d0034e5c71c76e037e6372572c614a971602c
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoRelease 1.0.0 31/157631/1 accepted/tizen/unified/20171031.055627 submit/tizen/20171027.093656 submit/tizen/20171027.100102
Sunmin Lee [Wed, 25 Oct 2017 07:47:42 +0000 (16:47 +0900)]
Release 1.0.0

initrd-fota for Tizen 4.0 is released

Change-Id: Ic0db9be348575929f2824b6fe0f2749a22e07291
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoEliminate partx dependency 60/156460/1 accepted/tizen/4.0/unified/20171019.082033 submit/tizen_4.0/20171018.130452 tizen_4.0.m2_release
Sunmin Lee [Wed, 18 Oct 2017 11:00:47 +0000 (20:00 +0900)]
Eliminate partx dependency

The blkid can covers all the operations in fota/fus_rw script.
Because partx is supposed to be dropped from initrd-recovery,
eliminate partx in initrd-fota, too.

Change-Id: I8c16ceab2e2a51ec666e4480a8f5a0eb2f827774
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoPatch for GUI in RO update 79/150279/4 accepted/tizen/4.0/unified/20171011.150236 submit/tizen_4.0/20171010.092649 submit/tizen_4.0/20171010.115426 tizen_4.0.IoT.p1_release
Sunmin Lee [Fri, 15 Sep 2017 03:07:02 +0000 (12:07 +0900)]
Patch for GUI in RO update

Set some env values for GUI and initiate it
in RO update step.
This patch enables GUI feature.

Change-Id: I184a9faf8c9750fbbb16952a64c00dba587e3086
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoAdd license text 03/151003/2 accepted/tizen/4.0/unified/20170920.081655 submit/tizen_4.0/20170919.101719
Sunmin Lee [Tue, 19 Sep 2017 09:51:07 +0000 (18:51 +0900)]
Add license text

Change-Id: I0800074f59193d6c8f35b55742dcede98c883359
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoRevert "MV passwd backup script to initrd-recovery" 70/146170/1 accepted/tizen/4.0/unified/20170904.143548 accepted/tizen/unified/20170828.163931 submit/tizen/20170825.073115 submit/tizen_4.0/20170830.025641 submit/tizen_4.0/20170901.015617
Sunmin Lee [Fri, 25 Aug 2017 07:25:10 +0000 (16:25 +0900)]
Revert "MV passwd backup script to initrd-recovery"

This reverts commit ca7a1bb9a486d7d7a34c70fc870598364443225d.

Change-Id: Id0b13bdd18a7b4f717f0fb79f240fe00f72339fa

6 years agoPatch for 2 partitions compatibility 84/144484/2 accepted/tizen/unified/20170824.050910 submit/tizen/20170823.081423
Sunmin Lee [Thu, 17 Aug 2017 02:38:09 +0000 (11:38 +0900)]
Patch for 2 partitions compatibility

At some target, there are only 2 partitions without user partition.
In this case, mount unused partition could cause abnormal operation.
This patch checks whether the target is 2 partition platform
by referring to fstab

Change-Id: I882ce9b74f44dacd73fa114ff83f6e9e6d1c4e40
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoRemove awk dependency 94/143594/3
Sunmin Lee [Thu, 10 Aug 2017 11:19:32 +0000 (20:19 +0900)]
Remove awk dependency

To be optimized, awk package got out of initrd-recovery.
So, make the same code using coreutil commands instead of awk.

Change-Id: I0273848348ebc5bb97c921a0af7b8c3a554c3066
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoMV passwd backup script to initrd-recovery 19/145219/1
Sunmin Lee [Mon, 21 Aug 2017 23:36:04 +0000 (08:36 +0900)]
MV passwd backup script to initrd-recovery

This script doesn't need to be rootfs.
Move this file to initrd-recovery.

Change-Id: Ia6e6a779df746317bbcf1938ef4d9b8b40c1dbf9
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoApply new copy mode for generting recovery partition image 35/143235/3
Kunhoon Baik [Wed, 9 Aug 2017 07:01:02 +0000 (16:01 +0900)]
Apply new copy mode for generting recovery partition image

Related to https://review.tizen.org/gerrit/143234,
The new copy mode is applied to fota list.

Change-Id: I3e889929a641630018052e884ead7bf29906c731

6 years agoMinor Fixes for supporting RPI3 12/143012/3
Kunhoon Baik [Tue, 8 Aug 2017 07:07:55 +0000 (16:07 +0900)]
Minor Fixes for supporting RPI3

a) upgrade-init
   : Tizen uses upgrade mode not fota mode in official binary.
   : We are supporting two modes for all reference targets - fota & upgrade
b) Minor debug feature
   : In generic(release mode), if upgrade is failed,
     system should be automatically aborted(rebooted) from recovery initrd
   : However, the shell will be created in debug mode.

Change-Id: Ic42aa9f938df74dfcedfb73beb45c9f1a9eda63c

6 years agoBLKID for PARTX not supported target 14/143414/2
Sunmin Lee [Wed, 9 Aug 2017 23:37:55 +0000 (08:37 +0900)]
BLKID for PARTX not supported target

In case of no partition name in some profile,
it can not get block device path properly.

BLKID, could be the substitution of PARTX.
BLKID would be used in case of some targets
that PARTX is not supported.

Change-Id: Ib98fb9358ef027e2673aaea3b5c7593a389d4d7d
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoPrepatch: restore passwd files 45/139045/7 accepted/tizen/4.0/unified/20170816.013025 accepted/tizen/4.0/unified/20170829.015911 accepted/tizen/unified/20170721.024542 submit/tizen/20170720.093148 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
Sunmin Lee [Mon, 17 Jul 2017 05:14:36 +0000 (14:14 +0900)]
Prepatch: restore passwd files

From Tizen 4.0, passwd files (/etc/{passwd,shadow,group,gshadow})
were moved to RW partition (/opt/etc).
Therefore, they needed to be recovered during update process.

Change-Id: I3ef0f525adf5b45b9ec77d047f16f5c572fe46ab
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoRW update: Systemd offline update 19/138819/6 accepted/tizen/unified/20170719.131747 submit/tizen/20170718.084230
Sunmin Lee [Wed, 12 Jul 2017 07:16:52 +0000 (16:16 +0900)]
RW update: Systemd offline update

This patch implements systemd based RW update
redirection.

Change-Id: I1123c46710eb75aa0841c1f7fa242c17ffa1d6b5
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoUpload initial initrd-fota 76/133676/8
Sunmin Lee [Tue, 13 Jun 2017 05:49:43 +0000 (14:49 +0900)]
Upload initial initrd-fota

Upload initial initrd-fota codes based on reference repository.

Change-Id: I2b5c78386e6a9e202eb450425b8273ea9750a82a
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
6 years agoInitial empty repository master submit/trunk/20200602.081603
Tizen Infrastructure [Wed, 31 May 2017 03:21:23 +0000 (03:21 +0000)]
Initial empty repository