platform/core/system/initrd-recovery.git
7 years agoRemove awk dependency 92/143592/3
Sunmin Lee [Thu, 10 Aug 2017 11:39:33 +0000 (20:39 +0900)]
Remove awk dependency

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

Change-Id: Id8fd9124e1ce5b4d08468f39c5fad6d144957188
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoAdd new file copy mode for recovery patition - MVWITHLIBS 34/143234/3
Kunhoon Baik [Wed, 9 Aug 2017 06:53:02 +0000 (15:53 +0900)]
Add new file copy mode for recovery patition - MVWITHLIBS

To reduce rootfs size, we need to erase some redundant files.
Especially, files used in just recovery partition should be removed from rootfs.

Until now, the existing file copy mode of current recovery partition creation support followings.
1) Symlink creation in just recovery partition
2) Copy binary with related lib (related lib is copied)
3) Copy just the binary without related lib
               :

However, there are no copy mode - Move binary with related lib (related lib is copied)
If recovery partition has such copy mode, some binary can be removed from rootfs.

This patch supports such requirement, and modify existing scripts

Change-Id: Ib995794e2cba798093b0ccfb859037ccb0f07c06

7 years agoBuild GUI and non-GUI binaries without copying source files 38/141838/1 submit/tizen/20170802.055040
Łukasz Stelmach [Tue, 1 Aug 2017 14:52:46 +0000 (16:52 +0200)]
Build GUI and non-GUI binaries without copying source files

Change-Id: I82e4d24b44b5039091f8f0e06a4c094718bd8165
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
7 years agoFix Second Framebuffer's position calculation 39/140339/2 accepted/tizen/4.0/unified/20170816.011311 accepted/tizen/4.0/unified/20170829.020350 accepted/tizen/unified/20170802.150910 submit/tizen/20170731.233847 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
Kunhoon Baik [Mon, 24 Jul 2017 14:12:00 +0000 (23:12 +0900)]
Fix Second Framebuffer's position calculation

System recovery uses double framebuffer when frame buffer backend is enabled.
The second framebuffer should be correctly calcualted with fix.line_length because it is real size of row buffer.
Thus, for correct calculation, this patch get fixed screen from kernel with FBIOGET_FSCREENINFO ioctl.

Change-Id: I3f4640ec60e2db24724a551e1b5f510c2d2791db

7 years agoMerge "Divide system-recovery list file according to GUI" into tizen
Sunmin Lee [Tue, 25 Jul 2017 23:10:33 +0000 (23:10 +0000)]
Merge "Divide system-recovery list file according to GUI" into tizen

7 years agoAdd ls/agetty for basic debugging 61/140261/1
Kunhoon Baik [Mon, 24 Jul 2017 08:33:12 +0000 (17:33 +0900)]
Add ls/agetty for basic debugging

This commit is for basic debugging by serial.
This patch will be reverted on release.

Change-Id: I8831ae36b0746cb605e97dcf08d3ef633a9995a9

7 years agoDivide system-recovery list file according to GUI 62/139262/1
Sunmin Lee [Tue, 18 Jul 2017 06:23:28 +0000 (15:23 +0900)]
Divide system-recovery list file according to GUI

The list files of system-recovery are different
according to the existence of GUI feature.
They should be packaged separately (gui/non_gui).

Change-Id: Ie9ebf1f59cd8531e80fb70a8ad2ee43fc1c34ddb
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoBLKID for PARTX not supported target 81/133281/7 accepted/tizen/unified/20170717.172321 submit/tizen/20170714.080717
Sunmin Lee [Mon, 19 Jun 2017 06:12:35 +0000 (15:12 +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: I910eda4ab59e760e35ea36addab8abd92fa08ec9
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoSupport unified build 45/132845/4
Sunmin Lee [Fri, 2 Jun 2017 01:59:27 +0000 (10:59 +0900)]
Support unified build

To support unified build, make separate packages
at once by single gbs command.

Change-Id: Ie38ba9b07a88ca4cdc172283bfbe3e7ba132fda4
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoMake RECOVERY_GUI configurable 83/132183/3
Sunmin Lee [Thu, 1 Jun 2017 10:35:09 +0000 (19:35 +0900)]
Make RECOVERY_GUI configurable

According to profile, gui util would not be built and pacakged.
However, RECOVERY_GUI always had been set to "GUI" so
make recovery-init to call gui util.
This patch makes RECOVERY_GUI configurable according to current profile.

Change-Id: Ia7017d099b1e4805162074a3b0ef772c5cbf1e45
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoRemove kernel header dependency 33/131933/3
Sunmin Lee [Wed, 31 May 2017 08:19:01 +0000 (17:19 +0900)]
Remove kernel header dependency

It does not need to require specific kernel header.
Instead of this, use default glib-devel package.

Change-Id: Ife55b3b7931a23a296748bc47a913ed9e1490c99
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoRemove libsystem dependency 32/131932/3
Sunmin Lee [Wed, 31 May 2017 05:35:17 +0000 (14:35 +0900)]
Remove libsystem dependency

To simplify package dependency,
get required functions from libsystem and include in itself.

Change-Id: I0020415027cccdc6c501294e9edb17cba7e03ecc
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoUpload initial codes 07/132907/2
Kunhoon Baik [Thu, 8 Jun 2017 08:29:30 +0000 (17:29 +0900)]
Upload initial codes

Copied & Modified initial codes of initrd-recovery from reference repository

Change-Id: I9dc5af97ddf356b96e21fa73e5f375bafacf333c

7 years agoInitial empty repository master
Tizen Infrastructure [Wed, 31 May 2017 03:17:00 +0000 (03:17 +0000)]
Initial empty repository