summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index f74a75d..60c24af 100755
--- a/build.sh
+++ b/build.sh
@@ -14,7 +14,7 @@ packages=iptables-mod-checksum
export LC_ALL=C
usage() {
- echo "Usage: $0 [-a|--arch x86_64|i686|aarch64] [-v|--version <version>] [-p|--packages <packages>] [-f|--files] [-t|--type lxd|plain] [-s|--super fakeroot|sudo] [--help]"
+ echo "Usage: $0 [-a|--arch x86_64|i686|aarch64|aarch32] [-v|--version <version>] [-p|--packages <packages>] [-f|--files] [-t|--type lxd|plain] [-s|--super fakeroot|sudo] [--help]"
exit 1
}
@@ -77,6 +77,11 @@ case "$arch_lxd" in
subarch=64
arch_ipk=aarch64_generic
;;
+ aarch32)
+ arch=armvirt
+ subarch=32
+ arch_ipk=aarch32_generic
+ ;;
*)
usage
;;