view more/build-control-images.sh @ 1280:35dc1da8988c

Change control image scripts so they always build in build/control-images, and put the extracted and archived (squashfs) versions in the same directory the way the other build scripts do. Also use utility_functions.sh as appropriate.
author Rob Landley <rob@landley.net>
date Mon, 08 Nov 2010 21:24:58 -0600
parents a3abaabac98e
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