Strip ELF binaries to reduce size of initrd 58/242258/3 accepted/tizen/unified/20201028.123943 submit/tizen/20201027.004448
authorSlava Barinov <v.barinov@samsung.com>
Tue, 6 Oct 2020 04:34:47 +0000 (13:34 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Tue, 6 Oct 2020 04:35:09 +0000 (13:35 +0900)
commite79b400c00a373d11da258b8eb82c1ebee30a659
tree290654f85e10819ed7c91b1b0f54f17775490687
parent79819ba92de379a075d247c76f4538c7ac4f8f80
Strip ELF binaries to reduce size of initrd

If depending to libpthread, eh_frame is used and for low-level
library like libgcc_s, eh_frame is required.
Strip eh_frame_hdr and eh_frame from ELF binaries to reduce size
of initrd except above cases.

Change-Id: I61f6dad841bbacb594ac953ecb154f1354c26963
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
packaging/initrd-recovery.spec
src/initrd-recovery/mkinitrd-recovery.sh.in