From 378facbd9fd64c357a7a38c0130893e3b807ff71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Wed, 6 Sep 2017 16:23:29 +0200 Subject: build.sh, subr/{post_strip,pkg_{install_pre,strip}.subr: strip(1) after install for each package to save disk space. vars/build.vars, vars/install_....vars: install coreutils_flavour_minipix w/ newly added ${TARGET}-install-strip to save disk space. --- vars/install_strip_host.vars | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 vars/install_strip_host.vars (limited to 'vars/install_strip_host.vars') diff --git a/vars/install_strip_host.vars b/vars/install_strip_host.vars new file mode 100644 index 00000000..f8d6ca8e --- /dev/null +++ b/vars/install_strip_host.vars @@ -0,0 +1,16 @@ +# +# set -o errexit -o noglob are assumed. +# + +pkg_install_strip_host_install() { + if [ -e "${PREFIX}/bin/${TARGET}-install-strip" ]; then + build_fileop rm "${PREFIX}/bin/${TARGET}-install-strip"; + fi; + cat > "${PREFIX}/bin/${TARGET}-install-strip" <