anbox: always use postmarket OS images

This commit is contained in:
rnhmjoj 2023-09-11 08:07:30 +02:00
parent bf58d13eca
commit 705b998b83
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450
3 changed files with 0 additions and 25 deletions

View file

@ -16,10 +16,6 @@
virtualisation.anbox.enable = true;
boot.kernelPackages = pkgs.linuxPackages_5_15;
# The AArch64 anbox image will not start.
# Meanwhile the postmarketOS images work just fine.
virtualisation.anbox.image = pkgs.anbox.postmarketos-image;
virtualisation.memorySize = 2500;
};

View file

@ -1,19 +0,0 @@
{ stdenv, fetchurl }:
let
imgroot = "https://build.anbox.io/android-images";
in
{
armv7l-linux = fetchurl {
url = imgroot + "/2017/06/12/android_1_armhf.img";
sha256 = "1za4q6vnj8wgphcqpvyq1r8jg6khz7v6b7h6ws1qkd5ljangf1w5";
};
aarch64-linux = fetchurl {
url = imgroot + "/2017/08/04/android_1_arm64.img";
sha256 = "02yvgpx7n0w0ya64y5c7bdxilaiqj9z3s682l5s54vzfnm5a2bg5";
};
x86_64-linux = fetchurl {
url = imgroot + "/2018/07/19/android_amd64.img";
sha256 = "1jlcda4q20w30cm9ikm6bjq01p547nigik1dz7m4v0aps4rws13b";
};
}.${stdenv.system} or (throw "Unsupported platform ${stdenv.system}")

View file

@ -154,9 +154,7 @@ stdenv.mkDerivation rec {
'';
passthru.tests = { inherit (nixosTests) anbox; };
passthru.image = callPackage ./postmarketos-image.nix { };
passthru.postmarketos-image = callPackage ./anbox-image.nix { };
meta = with lib; {
homepage = "https://anbox.io";