From 0ea9d8db5221d72cb4b0ca053c0953c9a90563d8 Mon Sep 17 00:00:00 2001 From: Oliver Smith Date: Sun, 5 Apr 2020 19:33:14 +0200 Subject: [PATCH] main/anbox-image: fix armv7 build (!1128) [ci:skip-vercheck] --- main/anbox-image/APKBUILD | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/main/anbox-image/APKBUILD b/main/anbox-image/APKBUILD index 45b4e4dc1..e548c5eb7 100644 --- a/main/anbox-image/APKBUILD +++ b/main/anbox-image/APKBUILD @@ -7,7 +7,7 @@ # So we use pre-built images by Anbox for now. pkgname=anbox-image -pkgver="7.1.2_p39" +pkgver=7.1.2_p39 _pkgver="${pkgver/p/r}" pkgrel=2 pkgdesc="Android image for running in Anbox" @@ -30,18 +30,17 @@ builddir="$srcdir/squashfs" options="!check" case "$CARCH" in - aarch64) _image=arm64;; - armv7) _image=armv7a_neon;; - x86_64) _image=x86_64;; + aarch64) _imgarch=arm64;; + armv7) _imgarch=armv7a_neon;; + x86_64) _imgarch=x86_64;; esac -_image="android-$_pkgver-anbox_$_image-userdebug.img" prepare() { cd "$srcdir" mkdir -p ./squashfs msg "Decompressing the image" - unsquashfs -f -d ./squashfs "$_image" + unsquashfs -f -d ./squashfs android-*-anbox_$_imgarch-userdebug.img cd ./squashfs