98-clean-chroot: check existence of aptitude binary via $ROOTCMD.
[grml-live.git] / buildd / execute.sh
1 #!/bin/sh
2 # Filename:      /usr/share/grml-live/buildd/execute.sh
3 # Purpose:       main execution file for grml-live buildd
4 # Authors:       grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
5 # Bug-Reports:   see http://grml.org/bugs/
6 # License:       This file is licensed under the GPL v2 or any later version.
7 ################################################################################
8
9 . /usr/share/grml-live/buildd/functions.sh || exit 1
10
11 # execute main grml-live
12 grml_live_run || create_logs
13
14 # store logs on remote server
15 upload_logs
16
17 # store information about ISO size
18 iso_details
19
20 # create logs for adding to mail, but only if it fails
21 send_mail
22
23 # move the ISO to final destination
24 store_iso
25
26 # clean exit
27 bailout
28
29 ## END OF FILE #################################################################