Mercurial > hg > aboriginal
view sources/control-images/bootstrap-skeleton/mnt/init @ 1296:fe5af321ed29
Move bootstrap-skeleton/files to bootstrap-skeleton/mnt, to be consistent.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 21 Nov 2010 19:08:01 -0600 |
parents | sources/control-images/bootstrap-skeleton/files/init@a4cb2ed0a551 |
children | ffdc94c67308 |
line wrap: on
line source
#!/bin/bash # Start running here, and hand off to run-build-stages.sh in chroot. . /mnt/functions.sh [ -z "$NATIVE_BUILD" ] && NATIVE_BUILD=chroot # 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/"$NATIVE_BUILD" /mnt/run-build-stages.sh if [ $? -eq 0 ] then set_titlebar "upload tarball" tar czvf "$NATIVE_BUILD".tar.gz "$NATIVE_BUILD" | dotprogress && upload_result "$NATIVE_BUILD".tar.gz fi