Mercurial > hg > control-images
comparison images/static-tools/build.sh @ 9:242a1e03ce15 1.1.0
Move repeated wrapper code into top level build.sh.
author | Rob Landley <rob@landley.net> |
---|---|
date | Sun, 18 Sep 2011 18:03:47 -0500 |
parents | 1a7e1616ab9d |
children | 823e6222e924 |
comparison
equal
deleted
inserted
replaced
8:3db62f3c2ac3 | 9:242a1e03ce15 |
---|---|
2 | 2 |
3 # Download all the source tarballs we haven't got up-to-date copies of. | 3 # Download all the source tarballs we haven't got up-to-date copies of. |
4 | 4 |
5 # The tarballs are downloaded into the "packages" directory, which is | 5 # The tarballs are downloaded into the "packages" directory, which is |
6 # created as needed. | 6 # created as needed. |
7 | |
8 source common/include.sh || exit 1 | |
9 | 7 |
10 EXTRACT_ALL=1 | 8 EXTRACT_ALL=1 |
11 | 9 |
12 echo "=== Download source code." | 10 echo "=== Download source code." |
13 | 11 |
81 sync | 79 sync |
82 | 80 |
83 EOF | 81 EOF |
84 | 82 |
85 chmod +x "$WORK"/init || dienow | 83 chmod +x "$WORK"/init || dienow |
86 | |
87 cd "$TOP" | |
88 | |
89 squash_image |