diff options
author | Samuel Dionne-Riel <samuel@dionne-riel.com> | 2021-06-03 16:40:12 -0400 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2023-09-04 08:51:54 +0200 |
commit | 0d09cc7cf6588be8efb4d3dda99b9c1e7de1919b (patch) | |
tree | a6529544a57c999b47c973af98bfdba289b26458 /pkgs/os-specific/linux/anbox | |
parent | 12b9e2b25903049f5dddbc4f03751134dda3777f (diff) |
anbox: be ten times more patient when launching
This helps on slower devices, at the cost of making the command "resolve" less quickly. It replaces commands "failing because things weren'd ready", but things actually still succeeding by commands *possibly* failing in 10× more time.
Diffstat (limited to 'pkgs/os-specific/linux/anbox')
-rw-r--r-- | pkgs/os-specific/linux/anbox/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/anbox/default.nix b/pkgs/os-specific/linux/anbox/default.nix index aa5f362665ede..52942a4330ea0 100644 --- a/pkgs/os-specific/linux/anbox/default.nix +++ b/pkgs/os-specific/linux/anbox/default.nix @@ -125,6 +125,12 @@ stdenv.mkDerivation rec { url = "https://git.alpinelinux.org/aports/plain/community/anbox/lxc4.patch?id=64243590a16aee8d4e72061886fc1b15256492c3"; sha256 = "1da5xyzyjza1g2q9nbxb4p3njj2sf3q71vkpvmmdphia5qnb0gk5"; }) + # Wait 10× more time when starting + # Not *strictly* needed, but helps a lot on slower hardware + (fetchpatch { + url = "https://git.alpinelinux.org/aports/plain/community/anbox/give-more-time-to-start.patch?id=058b56d4b332ef3379551b343bf31e0f2004321a"; + sha256 = "0iiz3c7fgfgl0dvx8sf5hv7a961xqnihwpz6j8r0ib9v8piwxh9a"; + }) ]; postInstall = '' |