tested on slack150
git clone https://github.com/sabotage-linux/sabotage.git cd sabotage/ cp -pi KEEP/config.stage0 config mkdir ~/tmp/ grep ^proc /proc/cpuinfo vi config #export SABOTAGE_BUILDDIR="$HOME/images/sabotage-core/sabotage-core" export SABOTAGE_BUILDDIR="$HOME/images/sabotage-stage1/sabotage-stage1" export MAKE_THREADS=32 #rm -rf $HOME/images/sabotage-core/sabotage-core/ rm -rf $HOME/images/sabotage-stage1/sabotage-stage1/ time ./build-stage0 # 2m5.782s on powerslack #cp -a $HOME/images/sabotage-stage1/sabotage-stage1/ $HOME/images/sabotage-core/sabotage-core/
./enter-chroot
within the chroot
core system
#time butch install core
core system + build chain
time butch install stage1 # 4m 52.67s on powerslack
and clean-up
/src/utils/clean-stage1.sh ^D
back to the host system
#./utils/root-perms.sh $HOME/images/sabotage-stage1/sabotage-core ./utils/root-perms.sh $HOME/images/sabotage-stage1/sabotage-stage1
cd ~/images/sabotage-stage1/ chroot sabotage-stage1/ which gcc ll sabotage-*/root/.ash_history rm -f sabotage-*/root/.ash_history ll sabotage-*/tmp/ #rm -f sabotage-*/tmp/* ll sabotage-*/src/ du -sh sabotage-*/src/* | sort -h rm -rf sabotage-*/src/build* #du -sh sabotage-core/ du -sh sabotage-stage1/ # 265M tar czSpf sabotage-stage1.tar.gz sabotage-stage1/
https://github.com/sabotage-linux/sabotage/blob/master/README.md