comparison 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
comparison
equal deleted inserted replaced
1257:1461d20bb6a7 1258:c264495fbf21
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 [ -z "$NATIVE_BUILD" ] && NATIVE_BUILD=chroot
8
9 # Always chroot, because even if root filesystem is writeable it's hard to
10 # tell tar to skip /proc and /sys and such without unmounting bits of the
11 # host environment.
12
13 do_in_chroot /home/"$NATIVE_BUILD" /mnt/run-build-stages.sh
14
15 if [ $? -eq 0 ]
16 then
17 set_titlebar "upload tarball"
18 tar czvf "$NATIVE_BUILD".tar.gz "$NATIVE_BUILD" | dotprogress &&
19 upload_result "$NATIVE_BUILD".tar.gz
20 fi