tgain about 30M on bootstrap pack - libdevuansdk - common library for devuan's simple distro kits (HTM) git clone https://git.parazyd.org/libdevuansdk (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules (DIR) README (DIR) LICENSE --- (DIR) commit 60f168677b163cfbbab1e8c0f97c5a8eafdef0fe (DIR) parent 453b5f0da9a9834197758774b9aa1039d3fb398f (HTM) Author: parazyd <parazyd@dyne.org> Date: Tue, 11 Oct 2016 23:04:36 +0200 gain about 30M on bootstrap pack Diffstat: M zlibs/bootstrap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- (DIR) diff --git a/zlibs/bootstrap b/zlibs/bootstrap t@@ -133,12 +133,13 @@ bootstrap_tar_pack() { req=(bootstrap_tgz) ckreq || return 1 - for i in $custmodules; do sed -i -e 's/$i//' $strapdir/etc/modules; done + for i in $custmodules;do sudo sed -i -e 's/$i//' $strapdir/etc/modules;done cat <<EOF | sudo tee ${strapdir}/prepack #!/bin/sh apt-get --yes --force-yes purge ${extra_packages} apt-get --yes --force-yes autoremove +apt-get clean EOF sudo chmod +x $strapdir/prepack || zerr