Signed-off-by: Andrew Page <admwiggin@gmail.com>
| ... | ... |
@@ -15,9 +15,12 @@ done |
| 15 | 15 |
suite="$1" |
| 16 | 16 |
shift |
| 17 | 17 |
|
| 18 |
+# allow for DEBOOTSTRAP=qemu-debootstrap ./mkimage.sh ... |
|
| 19 |
+: ${DEBOOTSTRAP:=debootstrap}
|
|
| 20 |
+ |
|
| 18 | 21 |
( |
| 19 | 22 |
set -x |
| 20 |
- debootstrap "${before[@]}" "$suite" "$rootfsDir" "$@"
|
|
| 23 |
+ $DEBOOTSTRAP "${before[@]}" "$suite" "$rootfsDir" "$@"
|
|
| 21 | 24 |
) |
| 22 | 25 |
|
| 23 | 26 |
# now for some Docker-specific tweaks |