summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorR <rkkoszewski@gmail.com>2020-02-22 20:35:46 +0100
committerR <rkkoszewski@gmail.com>2020-02-22 20:35:46 +0100
commit6f48e57a63542c7eca059d0213e10060477a0c56 (patch)
tree4a444f649c7bd0a64f63a98addd2576499751a17
parentc1671b018f3f2855a9a8387f51b99a72f2a1f053 (diff)
Add support for 32bit ARM builds
-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
;;