summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikma <mikma@users.noreply.github.com>2020-02-23 22:16:22 +0100
committerGitHub <noreply@github.com>2020-02-23 22:16:22 +0100
commitccce3798e192bffec76bdee6e308b3eeabf0964d (patch)
tree4a444f649c7bd0a64f63a98addd2576499751a17
parentc1671b018f3f2855a9a8387f51b99a72f2a1f053 (diff)
parent6f48e57a63542c7eca059d0213e10060477a0c56 (diff)
Merge pull request #25 from rkkoszewski/feature/raspberrypicompat
Add support for 32bit ARM builds by having a aarch32 arch option
-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
;;