mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2026-04-21 06:03:41 +00:00
Strip large binaries (#174)
This commit is contained in:
parent
9ce1ceefdc
commit
e864193b24
1 changed files with 3 additions and 0 deletions
3
build.sh
3
build.sh
|
|
@ -109,6 +109,9 @@ make_customize_airootfs() {
|
|||
|
||||
setarch ${arch} mkarchiso ${verbose} -w "${work_dir}/${arch}" -C "${work_dir}/pacman.conf" -D "${install_dir}" -r '/root/customize_airootfs.sh' run
|
||||
rm -f ${work_dir}/${arch}/airootfs/root/customize_airootfs.sh
|
||||
|
||||
# strip large binaries
|
||||
find ${work_dir}/${arch}/airootfs/usr/lib -type f -name "lib*.so.*" -exec strip --strip-all {} \;
|
||||
}
|
||||
|
||||
# Copy mkinitcpio archiso hooks and build initramfs (airootfs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue