Commit graph

683 commits

Author SHA1 Message Date
Simon Fels
e9cd1b7b66 emugl: correct locking when we draw a new frame 2017-08-24 08:41:59 +02:00
Simon Fels
4b344ad204 emugl: print EGL error when eglMakeCurrent fails 2017-08-24 08:41:59 +02:00
Simon Fels
05fb78e5bf logger: use syslog for output when we don't have a controlling tty 2017-08-24 08:41:59 +02:00
Simon Fels
579d28865b cmds: apply proper daemonization handling for forked session manager 2017-08-24 08:41:59 +02:00
Simon Fels
07b32235ea Don't force host GL driver on nvidia platforms anymore
Using the host GL driver is already the default so need to special case
this for nvidia.
2017-08-24 08:41:59 +02:00
Simon Fels
6b3295f8a8 Only attempt to create a renderer when we don't have one already 2017-08-24 08:41:59 +02:00
Simon Fels
b7173ac94a Print out example launch intent when executed without any argument 2017-08-24 08:41:59 +02:00
Simon Fels
7d4d7730ef Merge pull request #419 from alfonsosanchezbeato/recover-adb-killed
Recover on adb server killed
2017-08-23 12:59:51 +02:00
Alfonso Sánchez-Beato
1e884a12f7 Remove traces in AdbMessageProcessor 2017-08-23 11:10:30 +02:00
Alfonso Sánchez-Beato
427354d691 Remove now unneeded timer in AdbMessageProcessor 2017-08-23 11:08:38 +02:00
Alfonso Sánchez-Beato
bc13125585 Avoid crashes on AdbMessageProcessor destruction 2017-08-23 11:08:33 +02:00
Alfonso Sánchez-Beato
5c7ac4f885 Release resources on disconnection 2017-08-23 11:08:23 +02:00
Alfonso Sánchez-Beato
8ae09e81e0 Undef Status symbol to address conflict between X11 and protobuf 2017-08-23 11:06:34 +02:00
Simon Fels
a5ead0f075 Merge pull request #415 from brauner/2017-08-18/use_own_major
binder: use own major
2017-08-22 16:54:14 +02:00
Christian Brauner
bc49596105
binder: do not spew useless warnings in dmesg
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2017-08-22 15:32:23 +02:00
Christian Brauner
2f90429a07
udev: use wildcard to capture all binder devices
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2017-08-21 14:40:58 +02:00
Christian Brauner
3af7d1793d
binder: use own major number
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
2017-08-21 14:40:58 +02:00
Simon Fels
3102ac37b1 Merge pull request #412 from rmescandon/add-uninstall-target
added uninstall target to cmake to allow make uninstall operation
2017-08-20 12:54:55 +02:00
Simon Fels
8d1e0dd6d3 Merge pull request #411 from rmescandon/build-android-target-names
correct build-android supported build targets names
2017-08-20 12:54:40 +02:00
Roberto Mier Escandon
6845c48583 added uninstall target to cmake to allow make uninstall operation 2017-08-18 13:55:42 +02:00
Roberto Mier Escandon
a54b2f4cb0 correct build-android supported build targets names 2017-08-18 12:17:34 +02:00
Simon Fels
10c933b8ff Merge pull request #408 from morphis/f/make-gles-driver-host-default
cmds: select host as the default GL ES driver
2017-08-17 07:02:33 +02:00
Simon Fels
09bb9342ab Merge pull request #407 from morphis/f/dont-use-sudo
Don't use sudo in a script executed as root
2017-08-17 07:02:26 +02:00
Simon Fels
b4710c1572 cmds: select host as the default GL ES driver 2017-08-16 10:26:19 +02:00
Simon Fels
6e94a2bed3 Don't use sudo in a script executed as root 2017-08-16 10:18:44 +02:00
Simon Fels
5470f26914 Merge pull request #385 from jackwish/master
snap build: prefer local android.img rather than always download
2017-08-10 07:08:22 +02:00
Simon Fels
14f791ac12 Merge pull request #397 from morphis/f/update-binder-to-latest
binder: update to latest version and fix build on older kernels
2017-08-04 19:00:21 +02:00
Simon Fels
c77ca2a297 binder: update to latest version and fix build on older kernels
This backports the binder driver from the latest upstream linux
kernel tree as of v4.13-rc3-118-g19ec50a43 and enables a working
build on older kernels (e.g. 4.4).

The newer driver allows specification of multiple binder device
nodes but for the moment we only enable the default "binder" one.
2017-08-04 07:54:53 +02:00
王振华 (WANG Zhenhua)
4566aedd68 snap build: prefer local android.img rather than always download
Previously we always load android.img from server when building snap.
Now, build with <ANBOX>/android-images/android.img if there is one.
2017-07-28 09:50:20 +08:00
Simon Fels
7036fc0798 Merge pull request #379 from jackwish/master
readme: tip to build with GCC 5.x
2017-07-27 09:33:26 +02:00
Simon Fels
b9a51f3f57 Merge pull request #383 from morphis/f/collect-bug-info
Add simple script to collect various relevant log files for a bug report
2017-07-27 09:25:19 +02:00
Simon Fels
531dcd8c68 Add simple script to collect various relevant log files for a bug report 2017-07-27 09:24:52 +02:00
Zhenhua WANG
bd6a006ce7 Remove android/.idea 2017-07-24 16:12:19 +08:00
WANG Zhenhua
bf78c89ca7 readme: tip to build with GCC 5.x 2017-07-24 08:59:04 +08:00
Simon Fels
5fd932afe6 Merge pull request #362 from morphis/f/update-changelog
debian: update changelog
2017-07-14 22:36:01 +02:00
Simon Fels
77c8728082 debian: update changelog 2017-07-14 20:47:37 +02:00
Simon Fels
a84951f4f0 Merge pull request #361 from morphis/f/update-android-img
Update android image
2017-07-14 20:28:25 +02:00
Simon Fels
1eb027bcb9 Merge pull request #360 from morphis/f/drop-user-init-jobs
Drop upstart/systemctl session jobs
2017-07-14 20:28:13 +02:00
Simon Fels
052f622494 Drop upstart/systemctl session jobs
We don't use them anymore as we now completely rely on `anbox launch` to
start the session manager. This lets us remove another part which can't
be shipped inside the snap package.
2017-07-14 20:15:54 +02:00
Simon Fels
a127a9115e Update android image
* Don't crash inside AlarmManager when PendingIntent is not set
2017-07-14 19:56:44 +02:00
Simon Fels
ca59f27c23 Merge pull request #354 from morphis/f/squashfuse-mount-support
Add support for rootfs mounts via squashfuse
2017-07-12 12:16:14 +02:00
Simon Fels
0592810746 Merge pull request #350 from zhsj/fix-version-suffix
Remove duplicated suffix on version string
2017-07-12 12:16:01 +02:00
Simon Fels
f6e421a089 Add support to mount rootfs image via squashfuse 2017-07-12 09:28:59 +02:00
Simon Fels
aecf88fb2d Pass optional additonal user data to mount syscall 2017-07-12 09:28:56 +02:00
Simon Fels
7cfef55e2d Allow a mount entry to be construct with just the mounted path 2017-07-12 09:28:53 +02:00
Simon Fels
ac2181d92b Add simple helper function to find program in PATH 2017-07-12 09:28:49 +02:00
Shengjing Zhu
63022b1604 Remove duplicated suffix on version string
In CMakeLists.txt, it already defines:

if (ANBOX_VERSION_SUFFIX)
    set(ANBOX_VERSION "${ANBOX_VERSION}-${ANBOX_VERSION_SUFFIX}")
endif()

So there's no need to add suffix again in code

Signed-off-by: Shengjing Zhu <i@zhsj.me>
2017-07-11 19:41:06 +08:00
Simon Fels
00ea7d9641 Merge pull request #349 from morphis/f/fix-comp-errors-armhf
Fix compilation errors on armhf
2017-07-10 21:41:23 +02:00
Simon Fels
86bcf0c4fb Merge pull request #348 from morphis/f/add-lxc-tools
Add a few more lxc tools as part of the snap
2017-07-10 21:41:16 +02:00
Simon Fels
329368f4ae Merge pull request #347 from morphis/f/add-dbus-slots
Add slot definitions for our dbus service
2017-07-10 21:41:07 +02:00