Commit graph

259 commits

Author SHA1 Message Date
Simon Fels
cbb4beaac2 Restructure container manager startup script
Mount /cache and /data properly and stop bridge correctly.
2016-12-08 17:08:18 +01:00
Simon Fels
03583e360c Get rid of unwanted debug message 2016-12-08 17:07:36 +01:00
Simon Fels
fc55e2c59a Get rid of dropping capabilities as this prevents gaining relevant ones in the container 2016-12-08 17:06:52 +01:00
Simon Fels
f01ce872e8 Drop static DHCP configuration of eth0 2016-12-08 17:06:08 +01:00
Simon Fels
dd458efb38 Merge pull request #13 from morphis/bind-mount-cache-data
Bind mount cache/data on startup from writable space
2016-12-08 07:12:36 +01:00
Simon Fels
87da2f3744 Bind mount cache/data on startup from writable space 2016-12-08 07:12:09 +01:00
Simon Fels
0673c10354 Merge pull request #12 from morphis/map-dev-fuse
Map /dev/fuse to make Android volume manager happy
2016-12-08 07:11:28 +01:00
Simon Fels
e12ed13962 Map /dev/fuse to make Android volume manager happy 2016-12-08 07:10:52 +01:00
Simon Fels
c556bf4f2f Merge pull request #11 from morphis/window-movement-resize
Handle window movement/resize/close on our side and not in Android
2016-12-08 07:10:17 +01:00
Simon Fels
65531a3b82 Handle window movement/resize/close on our side and not in Android
This leads to much better performance and user interaction. Resizing
still has some flickering but that is a different area of problems.
2016-12-08 07:08:47 +01:00
Simon Fels
bd6e17ef70 Merge pull request #10 from morphis/rework-kmod-sym-access
Rework kmod sym access
2016-12-06 08:32:43 +01:00
Simon Fels
86e2ca424d kernel: exclude further build artifacts 2016-12-06 08:30:13 +01:00
Simon Fels
2095bebe0b kernel: binder: use kallsyms_lookup_name for internal symbol access 2016-12-06 08:29:59 +01:00
Simon Fels
f2110223d1 kernel: ashmem: use kallsyms_lookup_name for internal symbol access 2016-12-06 08:29:59 +01:00
Simon Fels
0887abe263 Merge pull request #9 from morphis/improve-snap-pkg
Improve snap pkg
2016-12-06 08:05:39 +01:00
Simon Fels
6860338c4b Use disk images instead of a rootfs tarball 2016-12-05 10:06:48 +01:00
Simon Fels
0c4668d029 Extend README with installation and build details 2016-12-05 07:10:21 +01:00
Simon Fels
637523b8cf Drop scripts we don't need anymore 2016-12-04 17:20:21 +01:00
Simon Fels
457bd794ff Don't load kernel modules anymore 2016-12-04 17:17:33 +01:00
Simon Fels
a86a5847f8 Start bridge as part of the container manager 2016-12-04 17:16:55 +01:00
Simon Fels
a8704556da Unload AppArmor profile for container management process
If we run the management process with the AppArmor profile loaded
from snap-confine various ashmem/binder operations are failing with
permission denied errors. To workaround this until this problem
is fixed we simply unload the AppArmor profile and continue to
execute completely without any profile loaded.
2016-12-04 17:07:44 +01:00
Simon Fels
b31d79ca08 Only use bridge if available to prevent container startup failures
LXC doesn't start the container when the configured network interface
(the bridge in this case) is not available.
2016-12-04 11:57:40 +01:00
Simon Fels
cb9814fb02 Don't supply any argument for anbox command 2016-12-03 17:11:50 +01:00
Simon Fels
9c89d8247e Use run command as default when no command is supplied 2016-12-03 17:11:24 +01:00
Simon Fels
4e07be3754 Use correct target paths inside rootfs path for bind mounts 2016-12-03 15:23:23 +01:00
Simon Fels
54c81ae7ec Ignore directories and files created by snapcraft 2016-12-03 14:15:37 +01:00
Simon Fels
32a5eaca69 Fix permissions of extracted rootfs content 2016-12-03 14:14:33 +01:00
Simon Fels
7d9330f205 Merge pull request #8 from morphis/reformat
Reformat all code and use the Google cpp code style
2016-12-02 17:44:36 +01:00
Simon Fels
b10382d2d8 Reformat all code and use the Google cpp code style 2016-12-02 17:38:43 +01:00
Simon Fels
09811d780c Merge pull request #7 from morphis/further-fixes
Further fixes
2016-12-02 17:23:05 +01:00
Simon Fels
5d4ee77881 Drop missing reference to removed intent class 2016-12-02 17:22:37 +01:00
Simon Fels
48bd7f9692 Respect layer crop when calculating surface dimensions and position 2016-12-02 16:31:05 +01:00
Simon Fels
586a2c7bc3 Fix crash in SurfaceFlinger when hwcomposer doesn't provide a dump method 2016-12-02 16:12:48 +01:00
Simon Fels
00aadb5467 Improve application manangement and create desktop entries for available app 2016-12-02 16:11:38 +01:00
Simon Fels
801b725fd5 Merge pull request #6 from morphis/fixes
Fixes
2016-11-29 06:18:42 +01:00
Simon Fels
e75940711b Always start new applications on the freeform stack 2016-11-29 06:18:01 +01:00
Simon Fels
972260b76c Don't throw exception for socket failure as we already bring down the connection 2016-11-28 07:55:50 +01:00
Simon Fels
c21cccd98a Drop further unneeded log statements 2016-11-28 07:43:50 +01:00
Simon Fels
89869934b9 Drop unneeded include of utils header file 2016-11-28 07:42:08 +01:00
Simon Fels
dde578674f Drop extensive logging from anboxd service 2016-11-28 07:41:48 +01:00
Simon Fels
089e2daf22 Add simple script to build and load relevant kernel modules 2016-11-28 07:34:26 +01:00
Simon Fels
ec2002c971 Start anboxd as part of class core
Boot is too early for is now that we depend on some system services
like the ActivityManager one.
2016-11-28 07:33:43 +01:00
Simon Fels
6d2b39cb68 Drop kernel modules and shell from snap
We have adb now available and kernel module support need to be solved
differently.
2016-11-27 16:04:41 +01:00
Simon Fels
8e4bce8c7b Merge pull request #5 from morphis/fix-ftbs
Drop not available logging function in rpc message processor
2016-11-27 16:04:24 +01:00
Simon Fels
52aee51bbe Drop not available logging function in rpc message processor 2016-11-27 16:03:58 +01:00
Simon Fels
aa18e21a26 Merge pull request #4 from morphis/network-support
Add network support
2016-11-27 16:03:46 +01:00
Simon Fels
ba82e516f6 Add copyright header for bridge script 2016-11-27 16:02:53 +01:00
Simon Fels
fd2c833b95 Add bridge as part of the snap 2016-11-26 13:44:18 +01:00
Simon Fels
06b529e0a0 Implement simple network bridge 2016-11-26 13:38:38 +01:00
Simon Fels
5660b308a6 Merge pull request #1 from morphis/multi-window
First attempt on multi window support
2016-11-26 13:07:39 +01:00