Commit Graph

21 Commits

Author SHA1 Message Date
Vitalii Koshura caf75a68e2
[Android] Simplify Vagrant script
Move functionality to install NDK and download curl and openssl sources to CI script that are already presented there.

This fixes #3119

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2019-05-11 02:47:12 +03:00
Adam Radocz 21a13079c2
[Android] Change the Desktop Environment from Mate to Lubuntu in Vagrant
Lubuntu Desktop Environment is lighter than the Mate DE, which is very beneficial in a virtual environments situation.
Lubuntu uses 194 MB RAM and 12,47 GB disk space, while Mate uses 435 MB RAM and 13,95 GB disk space.
2019-05-03 16:17:05 +02:00
Vitalii Koshura 083b5e5ae1
[Android] Fix Vagrant build
Make force upgrade for non-interactive sesstion.
Add android/.vagrant folder to .gitignore

Fixes #3113

Signed-off-by: Vitalii Koshura <lestat.de.lionkur@gmail.com>
2019-05-02 11:26:12 +03:00
Oliver Behnke 7b65c6ba31 [android][vagrant] run final (full) update at the end 2018-11-27 14:51:56 +01:00
Oliver Behnke 490fa1e28c [android][vagrant] improve logging 2018-11-27 12:19:24 +01:00
Oliver Behnke df71be7fa6 [android][vagrant] run full upgrade after initial install 2018-11-27 12:03:56 +01:00
Oliver Behnke e6256c988f [android][vagrant] additional requirement: pkg-config 2018-11-27 11:46:50 +01:00
Oliver Behnke 70a1563993 [android][vagrant] maintenance: update OpenSSL and cURL 2018-11-27 11:42:11 +01:00
Oliver Behnke d6d66767be [android][vagrant] fix/upgrade ubuntu-make (switch to recommended repo) 2018-11-27 11:41:25 +01:00
Adam Radocz 7cf538cf54
Hyper-V can run the Android emulator
The 2GB is really small to run the Android emulator, with 4GB the VM was much responsive.
2018-11-25 14:21:47 +01:00
Adam Radocz 6c1cd547a7
Shared folders uses SMBv1 for bento/ubuntu-18.04
Vagrant tries to use SMBv1 for shared folders. However, if you have SMBv1 disabled, this will fail:
```
Vagrant requires administrator access to create SMB shares and
may request access to complete setup of configured shares.
==> default: Mounting SMB shared folders...
    default: C:/Users/Public/Documents => /*****
Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:

mount -t cifs -o vers=2.0,credentials=/etc/smb_creds_vgt-2a23e932cf2bf104917f9e833ef15b18-6ad5fdbcbf2eaa93bd62f92333a2e6e5,uid=1000,gid=1000 //192.168.0.248/vgt-2a23e932cf2bf104917f9e833ef15b18-6ad5fdbcbf2eaa93bd62f92333a2e6e5 /*****

The error output from the last command was:

mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
```
2018-11-25 13:38:28 +01:00
Adam Radocz 3f783961dd
Hyper-V more compatible with Ubuntu 18.04 2018-11-25 10:59:04 +01:00
Adam Radocz 77c33a113d
Add Hyper-V support
On Windows, the [VirtualBox can't be used](https://forums.virtualbox.org/viewtopic.php?f=6&t=85438) if someone uses Hyper-V by default.
2018-11-24 08:39:04 +01:00
Adam Radocz 52be065e04
Base image updated
Ubuntu 18.04 is the latest LTS version.
2018-11-23 21:15:07 +01:00
Oliver Behnke 8b199678ca Update cURL and OpenSSL versions 2018-08-30 11:41:03 +02:00
Oliver Bock ef2f85b595 [#1829][android] Update cURL and OpenSSL 2017-03-29 15:07:05 +02:00
Oliver Bock 5591c74629 [#1829][android] Development environment provisioning
* Update OS packages
* Install necessary OS packages
* Install Android Studio, SDK, NDK and Android repos
* Install SDKs and build tools required by BOINC (dynamically)
* Install OpenSSL and cURL sources (for BOINC client build)
* Final state:
  * Ready to run andriod/build_all.sh
  * Ready to import android/BOINC in Android Studio (Gradle project)
2017-03-29 14:47:58 +02:00
Oliver Bock 62f88217bc [#1829][android] Configure VM for Android Studio 2017-03-29 14:47:54 +02:00
Oliver Bock 073df23ec4 [#1829][android] Use a better Vagrant box
* Ubuntu's box isn't standard compliant (https://bugs.launchpad.net/cloud-images/+bug/1569237)
* We don't need nightly builds
2017-03-29 14:47:49 +02:00
Oliver Bock 32ae2c2312 [#1829][android] Use ubuntu/xenial64 box
Simplifies Android Studio installation via ubuntu-make
2017-03-29 14:47:46 +02:00
Oliver Bock 4558030197 [#1829][android] vagrant init 2017-03-29 14:47:41 +02:00