#!/bin/bash # $Header: /var/emdebian/svn/tools/buildcross/branch/buildcross,v 0.3 2007/07/18 01:10:03 zumbi Exp $ # # Copyright (C) 2000, 2007 Emdebian # # This program should call buildcross to build a certain outdated # package. It runs buildcross in a modular way. This program should # check if there is a need of building a certain package. # # PSEUDO CODE: # For all arches do # Check new version # Compare to latest built version # If new version available # Perform a buildcross call # Wait # Check log # Report Status to webpage # Else # Report status # fi # Done # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # # Distributed under the terms of the GNU General Public License v2 source conf_vars.sh echo "Buildcross has no output, so it runs on background." echo "Check logs/" if [ ! -d $LOGPATH ]; then mkdir -p $LOGPATH fi time ./em_wrap.sh &> $LOGPATH/build.log &