Mercurial > hg > aboriginal
view sources/native-builds/bootstrap-skeleton/files/init @ 1258:c264495fbf21
Update the common code, use "files" directory instead of build for subdir.
author | Rob Landley <rob@landley.net> |
---|---|
date | Thu, 07 Oct 2010 23:50:12 -0500 |
parents | sources/native-builds/bootstrap-skeleton/build/init@df70740df1a5 |
children |
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