comparison 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
comparison
equal deleted inserted replaced
1255:82d34e55552f 1256:df70740df1a5
1 #!/bin/bash
2
3 # Start running here, and hand off to run-build-stages.sh in chroot.
4
5 . /mnt/functions.sh
6
7 # Always chroot, because even if root filesystem is writeable it's hard to
8 # tell tar to skip /proc and /sys and such without unmounting bits of the
9 # host environment.
10
11 do_in_chroot /home/chroot /mnt/run-build-stages.sh
12
13 if [ $? -eq 0 ]
14 then
15 set_titlebar "upload tarball"
16 tar czvf gentoo-stage1.tar.gz gentoo-stage1 | dotprogress &&
17 upload_result gentoo-stage1.tar.gz
18 fi