Mercurial > hg > aboriginal
view sources/native-builds/bootstrap-skeleton/build/init @ 1256:df70740df1a5
Add generic native-build infastructure.
author | Rob Landley <rob@landley.net> |
---|---|
date | Tue, 05 Oct 2010 21:18:36 -0500 |
parents | |
children |
line wrap: on
line source
#!/bin/bash # Start running here, and hand off to run-build-stages.sh in chroot. . /mnt/functions.sh # Always chroot, because even if root filesystem is writeable it's hard to # tell tar to skip /proc and /sys and such without unmounting bits of the # host environment. do_in_chroot /home/chroot /mnt/run-build-stages.sh if [ $? -eq 0 ] then set_titlebar "upload tarball" tar czvf gentoo-stage1.tar.gz gentoo-stage1 | dotprogress && upload_result gentoo-stage1.tar.gz fi