Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

anbox: init at 2018-10-07 #48040

Closed
wants to merge 5 commits into from
Closed

anbox: init at 2018-10-07 #48040

wants to merge 5 commits into from

Conversation

edwtjo
Copy link
Member

@edwtjo edwtjo commented Oct 8, 2018

Motivation for this change

"Android in a box" for NixOS.

Status:

  • Launches activities, i.e. runs installed apks
  • Able to install apks using adb install
  • Current image cannot route to the default gateway set, i.e. not a real failure of the module but the image.
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@Mic92
Copy link
Member

Mic92 commented Oct 8, 2018

Maybe the third attempt will go in. Feel free to borrow code from the previous trials: https://github.com/NixOS/nixpkgs/pull/42076/files

@edwtjo
Copy link
Member Author

edwtjo commented Oct 9, 2018

@Mic92 Thanks for the heads up! I will try to coalesce the different efforts as soon as I get time.

edwtjo and others added 5 commits November 3, 2018 19:33
Co-authored-by: Luke Adams <luke.adams@belljar.io>
Co-authored-by: Volth <volth@webmaster.ms>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
Co-authored-by: Luke Adams <luke.adams@belljar.io>
Co-authored-by: Volth <volth@webmaster.ms>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
Co-authored-by: Luke Adams <luke.adams@belljar.io>
Co-authored-by: Volth <volth@webmaster.ms>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
Co-authored-by: Luke Adams <luke.adams@belljar.io>
Co-authored-by: Volth <volth@webmaster.ms>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
Co-authored-by: Luke Adams <luke.adams@belljar.io>
Co-authored-by: Volth <volth@webmaster.ms>
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
@jasoncarr0
Copy link
Contributor

jasoncarr0 commented Dec 30, 2018

Seems to work pretty well. Two questions right now: Why is the app privileged rather than running under another user? And two, have you gotten networking working. I can't seem to connect to anything on it.

There's some relevant issues. They're closed because they only come up on non-snap (i.e. unofficial) anbox/anbox#882 anbox/anbox#292

@peterhoeg
Copy link
Member

@edwtjo, any progress on this?

@gebner
Copy link
Member

gebner commented Mar 22, 2019

Superceded by #57826.

@gebner gebner closed this Mar 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants