Commit graph

665 commits

Author SHA1 Message Date
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
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
Simon Fels
79b598be13 Merge pull request #346 from morphis/f/allow-use-of-system-dbus
Allow the use of the system dbus service
2017-07-10 21:40:58 +02:00
Simon Fels
a4dbaf3937 Merge pull request #345 from morphis/f/create-app-mgr-correctly
Create correct application manager based on if we're single window or not
2017-07-10 21:40:47 +02:00
Simon Fels
41c0390e42 Fix compilation errors on armhf 2017-07-10 09:59:54 +02:00
Simon Fels
da36f20f11 Add a few more lxc tools as part of the snap 2017-07-10 09:59:03 +02:00
Simon Fels
9f00ec3397 Add slot definitions for our dbus service 2017-07-10 09:58:33 +02:00
Simon Fels
43244baa11 Add argument for launch command to use system dbus 2017-07-10 09:56:51 +02:00
Simon Fels
15a27ec8b6 Add command line option to use system dbus 2017-07-10 09:56:40 +02:00
Simon Fels
7fc8bb46d2 Merge pull request #341 from morphis/f/update-android-image
Update to newer Android image
2017-07-07 11:22:43 +02:00
Simon Fels
c876405379 Merge pull request #332 from zhsj/rm-makefile
Cleanup unexpected Makefile
2017-07-07 10:45:43 +02:00
Simon Fels
98deffd895 Merge pull request #340 from morphis/f/add-tests-for-restricted-app-mgr
Add test case for our restricted app manager
2017-07-07 10:45:04 +02:00
Simon Fels
fa81d487ca Merge pull request #339 from morphis/f/only-multi-window-if-supported
Only use multi window manager when platform supports
2017-07-07 10:44:56 +02:00
Simon Fels
90d0f46495 Update to newer Android image
Changes:

 * Android system log is now dumped into $ANDROID_DATA/system.log so
   it can be accessed without adb and logcat
 * Fix SEGV in art on newer kernels with CVE-2017-1000364 fixed

Fixes #337
2017-07-07 10:44:17 +02:00
Simon Fels
596e7f76eb Add test case for our restricted app manager 2017-07-07 10:33:57 +02:00
Simon Fels
6a30bfaece Create correct application manager based on if we're single window or not 2017-07-07 10:26:43 +02:00
Simon Fels
c2e5bec26d Only use multi window manager when platform supports 2017-07-07 10:26:43 +02:00
Simon Fels
0d45f800a0 Merge pull request #333 from zhsj/fix-travis
Fix build dir after cmake build
2017-07-06 13:31:42 +02:00
Shengjing Zhu
3a1345c532 Fix build dir after cmake build
Signed-off-by: Shengjing Zhu <zsj950618@gmail.com>
2017-06-27 11:15:52 +08:00
Shengjing Zhu
cdd3a38fe8 Fix debhelper auto select cmake
Signed-off-by: Shengjing Zhu <zsj950618@gmail.com>
2017-06-27 11:01:33 +08:00