From 6f48e57a63542c7eca059d0213e10060477a0c56 Mon Sep 17 00:00:00 2001 From: R Date: Sat, 22 Feb 2020 20:35:46 +0100 Subject: Add support for 32bit ARM builds --- build.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 ] [-p|--packages ] [-f|--files] [-t|--type lxd|plain] [-s|--super fakeroot|sudo] [--help]" + echo "Usage: $0 [-a|--arch x86_64|i686|aarch64|aarch32] [-v|--version ] [-p|--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 ;; -- cgit v1.2.3