view more/build-control-images.sh @ 1391:42ec661e3916

Fix BINARY_PACKAGE_TARBALLS generation: some packages produce no output (zlib used to build dropbear for example), and thus check for an empty list before trying to make a tarball.
author Rob Landley <rob@landley.net>
date Fri, 17 Jun 2011 13:00:17 -0500
parents 35dc1da8988c
children
line wrap: on
line source

#!/bin/bash

# Build all control images (for native-build.sh) in build/control-images.

. sources/utility_functions.sh || exit 1

blank_tempdir build/control-images

# Iterate through sources/control-images and run each script, writing output
# to build/control-images/$SCRIPTNAME.hdc

for i in sources/control-images/{*.sh,*/make-control-image.sh}
do
  $i | maybe_quiet
  # Forking doesn't work yet due to extract collisions with the same package
  #maybe_fork "$i | maybe_quiet"
done