Add new file copy mode for recovery patition - MVWITHLIBS 34/143234/3
authorKunhoon Baik <knhoon.baik@samsung.com>
Wed, 9 Aug 2017 06:53:02 +0000 (15:53 +0900)
committerSunmin Lee <sunm.lee@samsung.com>
Mon, 14 Aug 2017 06:07:33 +0000 (15:07 +0900)
commitdbf7a9fd63ab1dc60df67df6b94e8d73bade2f0e
treeadd5591ffb82ebafebec98a29c45ea65db38ec5e
parentb65642525e49336aa3da0f4a36b74d45d95eb823
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
src/initrd-recovery/00-initrd-recovery.list
src/initrd-recovery/mkinitrd-recovery.sh
src/system-recovery/50-system-recovery.list.m4