annotate more/build-control-images.sh @ 1235:d169a2c6f410

Smoketest was using the wrong run-emulator-from-build.sh path.
author Rob Landley <rob@landley.net>
date Sun, 05 Sep 2010 00:04:13 -0500
parents e104d771ca17
children f5c448622393
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1114
be94bf38648b Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff changeset
1 #!/bin/bash
be94bf38648b Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff changeset
2
1171
e104d771ca17 Fluff up comments, and use blank_tempdir so re-running recreates all the images.
Rob Landley <rob@landley.net>
parents: 1157
diff changeset
3 # Build all control images (for native-build.sh) in build/control-images.
e104d771ca17 Fluff up comments, and use blank_tempdir so re-running recreates all the images.
Rob Landley <rob@landley.net>
parents: 1157
diff changeset
4
e104d771ca17 Fluff up comments, and use blank_tempdir so re-running recreates all the images.
Rob Landley <rob@landley.net>
parents: 1157
diff changeset
5 . sources/include.sh || exit 1
e104d771ca17 Fluff up comments, and use blank_tempdir so re-running recreates all the images.
Rob Landley <rob@landley.net>
parents: 1157
diff changeset
6
e104d771ca17 Fluff up comments, and use blank_tempdir so re-running recreates all the images.
Rob Landley <rob@landley.net>
parents: 1157
diff changeset
7 blank_tempdir build/control-images
e104d771ca17 Fluff up comments, and use blank_tempdir so re-running recreates all the images.
Rob Landley <rob@landley.net>
parents: 1157
diff changeset
8
1114
be94bf38648b Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff changeset
9 # Iterate through sources/native-builds and run each script, writing output
be94bf38648b Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff changeset
10 # to build/control-images/$SCRIPTNAME.hdc
be94bf38648b Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff changeset
11
be94bf38648b Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff changeset
12 for i in sources/native-builds/*.sh
be94bf38648b Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff changeset
13 do
be94bf38648b Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff changeset
14 SCRIPTNAME=$(echo $i | sed 's@.*/\(.*\)\.sh@\1@')
1143
94173723a272 Bug workaround for FORK=1 build-control-images.sh
Rob Landley <rob@landley.net>
parents: 1114
diff changeset
15 # Forking doesn't work yet due to extract collisions with the same package
94173723a272 Bug workaround for FORK=1 build-control-images.sh
Rob Landley <rob@landley.net>
parents: 1114
diff changeset
16 #maybe_fork "$i build/control-images/$SCRIPTNAME.hdc | maybe_quiet"
94173723a272 Bug workaround for FORK=1 build-control-images.sh
Rob Landley <rob@landley.net>
parents: 1114
diff changeset
17 $i build/control-images/$SCRIPTNAME.hdc | maybe_quiet
1114
be94bf38648b Break up buildall.sh so it's easier to run individual portions of it.
Rob Landley <rob@landley.net>
parents:
diff changeset
18 done