Simon Fels
6ce026bad4
Setup Android rootfs mount on container manager startup
2017-02-10 23:10:03 +01:00
Simon Fels
e0091c764b
Allow using a different data path for container setup
2017-02-07 12:12:23 +01:00
Simon Fels
2e3a82c429
Remove kernel module building inside the snap
2017-02-07 12:12:23 +01:00
Simon Fels
b7937afc3c
Only warn when FUSE support for user namespaces couldn't be enabled
2017-01-31 08:46:07 +01:00
Simon Fels
383511b397
Disable module building and loading on non xenial systems
2017-01-20 16:49:41 +01:00
Simon Fels
8d2e3853d4
scripts: respect new unprivileged container model
2017-01-05 10:15:21 +01:00
Simon Fels
7f564c55eb
Build and load binder/ashmem kernel modules on service start
...
As both kernel modules are not part of the standard Ubuntu kernel we
need to build and load them at runtime. We bundle this together with
the container manager start and reuse the classic snap scripts to do
the actual build in a proper environment.
2016-12-13 13:51:40 +01:00
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
87da2f3744
Bind mount cache/data on startup from writable space
2016-12-08 07:12:09 +01:00
Simon Fels
6860338c4b
Use disk images instead of a rootfs tarball
2016-12-05 10:06:48 +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
32a5eaca69
Fix permissions of extracted rootfs content
2016-12-03 14:14:33 +01:00
Simon Fels
4a0927c718
Load kernel modules for binder and ashmem on startup
2016-09-17 10:48:24 +02:00
Simon Fels
cd52c87639
Create rootfs version indicator
2016-09-17 10:48:24 +02:00
Simon Fels
18fd3734c0
Correct wrapper script name
2016-09-17 10:48:24 +02:00
Simon Fels
3ba9028844
Extra rootfs as part of the container manager startup
2016-09-17 10:48:24 +02:00
Simon Fels
117111ce20
Extend snap packaging with further details
2016-09-17 10:48:07 +02:00