Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/build-all-images.sh
blob: 5b61447694e2d61db1428a52d13b3c5a2e81217e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

cd "$(dirname "$(readlink -e "$0")")"

if [ "x$1" = 'x--pull' ]; then
  git pull --rebase
  shift
fi

if [ $# -ne 0 ]; then
  >&2 printf 'usage: %s [--pull]\n\n' "$0"
  >&2 echo 'unknown parameters:'
  >&2 printf '  "%s"\n' "$@"
  exit 1
fi

for ARCHITECTURE in i486 i686 pentium4; do
  ARCHITECTURE=$ARCHITECTURE sudo --preserve-env=ARCHITECTURE ./mkimage-arch.sh
done