Commit graph

111 commits

Author SHA1 Message Date
Simon Fels
568a483435 cmds: allow users to change the container network configuration
In some spare situations it might be useful to change the network
configuration of the bridge and with that also the configuration of
the Android container itself. We don't validate the configuration
and just apply it no matter if it ends up with network connectivity
in the container.
2018-09-02 15:04:44 +02:00
Simon Fels
81c90ab218 scripts: expose bridge configuration via the snap config system 2018-08-03 17:12:18 +02:00
Simon Fels
551f25208f scripts: if running inside the snap don't use /run 2018-08-03 17:11:57 +02:00
Simon Fels
0178e4855c scripts: prevent collect-bug-info execution as root 2018-07-23 18:43:53 +02:00
Simon Fels
4fd574316f scripts: generate a zip instead of a tarball for our log archive
Github doesn't allow uploading a tarball but a zip archive.
2018-07-23 18:21:55 +02:00
Simon Fels
60e7dc79c8 scripts: don't setup a dedicated AppArmor profile anymore 2018-07-19 22:20:09 -04:00
Simon Fels
4b39459253 cmds: add command to check for mandatory CPU features 2018-07-18 14:45:40 -04:00
Simon Fels
155c91da6c scripts: fix quoting problem with launch cmdline 2018-07-05 10:44:31 +02:00
Simon Fels
d3af8a0732 Restart entire container-manager script outside of AppArmor confinement 2018-07-05 09:57:08 +02:00
Simon Fels
bfd0619d96 scripts: make shellcheck happy 2018-07-05 09:21:34 +02:00
Simon Fels
7b10faf47a scripts: enable linker debugging when running in debug mode 2018-07-05 09:18:41 +02:00
Simon Fels
d35e494913 Allow forcing software rendering via snap config option 2018-07-04 16:50:23 +02:00
Simon Fels
945e6f1f7e
Merge branch 'master' into explicit-search-path-for-boost 2018-07-01 18:01:14 +02:00
Simon Fels
e0d508671f scripts: set explicit search path for libboost_log 2018-07-01 17:55:40 +02:00
Yechiel Levi
13dd9e17bd Supporting privileged container 2018-06-25 20:32:00 +03:00
Simon Fels
77a4cc7f3b Add support for an overlayed Android root filesystem
This will allow users to extend the Android root filesystem with
additional system applications and changes.
2018-06-25 08:46:56 +02:00
Simon Fels
24f774282a scripts: print all executed commands 2018-06-12 09:53:11 +02:00
Simon Fels
19d902f25a scripts: quote correctly to not cause errors 2018-06-12 09:53:11 +02:00
Simon Fels
a7e2db21bc scripts: also collect container console log files 2018-06-12 09:53:11 +02:00
Simon Fels
f79e3738f1 scripts: use 18.04 as our new build environment 2018-06-12 07:34:05 +02:00
Simon Fels
62ea07eaf2 scripts: don't build removed debian package during CI anymore 2018-06-11 09:57:31 +02:00
Simon Fels
02a2601fad scripts: don't create unneeded symlinks on container startup 2018-06-11 07:50:54 +02:00
Simon Fels
b318bc1514 Fetch logs from the right location in SNAP_COMMON 2018-05-30 12:35:34 +02:00
Simon Fels
83215524de Add snap configure hook to allow enable debug mode 2018-05-30 09:24:00 +02:00
Simon Fels
dffc175599 scripts: use correct environment to run system-info command 2018-05-26 18:08:55 +02:00
Simon Fels
b764671f1d scripts: add script to get a shell inside the Android container 2018-05-26 17:57:48 +02:00
Simon Fels
65af894a95 scripts: check if we run on an AppArmor enabled system before loading profile 2018-05-23 16:40:25 +02:00
Simon Fels
71d801148b snap: rename app-settings to android-settings 2018-05-23 16:40:24 +02:00
Simon Fels
60c8cfc9a0 scripts: install missing libsystemd-dev 2018-05-23 14:30:03 +02:00
Simon Fels
be346eb9ec snap: add additional desktop entry for the appmgr 2018-05-23 14:30:03 +02:00
Simon Fels
b723f251d9 debian: bump version and add build script 2018-05-23 13:16:41 +02:00
Simon Fels
b36c0b7491 Implement confinement of the Android container via AppArmor
The used profile is derived from what LXD uses to confine its
containers. See https://github.com/lxc/lxd/blob/master/lxd/apparmor.go
2018-05-18 19:38:35 +02:00
Simon Fels
238a26aee3 Install desktop item for the Android Settings app 2018-05-18 19:38:16 +02:00
Simon Fels
31c64f0a19 snap: make anbox work on systems with GLVND
Systems with GLVND load the actual EGL implementation in a different way
when the GL driver is dlopen'ed and therefor we need to tell GLVND which
vendor implementations are available on the system. As snapd is not yet
exposing this to the snap we have to ship a small set of configs on our
own until that is fixed.
2018-05-18 19:38:07 +02:00
Simon Fels
7dde2d9fdf snap: cleanup and small refactoring
We're using the desktop helpers now to setup all necessary environment
variables for GL drivers etc. and only keep a small set of extra changes
on top for things the desktop-helpers don't support yet.
2018-05-18 19:38:05 +02:00
Simon Fels
5a8e5e5817
Merge branch 'master' into master 2018-05-16 08:06:05 +02:00
Gianfranco Costamagna
cfb336e174 CMakeLists.txt: Default build type to RelWithDebInfo if none is defined 2018-05-14 12:03:50 +02:00
Gianfranco Costamagna
a02f2ab47c Add verbosity to build 2018-05-14 11:57:34 +02:00
Simon Fels
50671ed987 scripts: explicitly set linker search path for libpulsecommon-8.0 2018-03-04 17:31:03 +01:00
step21
3882f3bfa5 fixed sys.stderr 2018-01-05 16:01:51 +01:00
step21
642330e22c python 3 compatible 2018-01-04 21:06:43 +01:00
fpemud
1df0964af5 fix 2017-11-10 12:40:02 +08:00
Simon Fels
3fcdb31ada emugl: import script for AOSP to generate encoding/decoding functions 2017-08-31 16:07:57 +02:00
Simon Fels
067201baba emugl: generate GL ES/EGL function prototypes at build type from entries files
This will make the *.entries files the the authoritative place to
define additional GL function prototypes. All generated header
files are now placed inside the build directory so that nobody
will ever try to touch them again.
2017-08-31 15:40:22 +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
531dcd8c68 Add simple script to collect various relevant log files for a bug report 2017-07-27 09:24:52 +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
Simon Fels
a21233cb38 Merge pull request #252 from morphis/f/warn-on-cm-start
Print warning if user starts container manager manually
2017-05-11 18:35:59 +02:00
Simon Fels
22fcbabb64 Print warning if user starts container manager manually 2017-05-11 07:45:24 +02:00
Simon Fels
54499f0135 Simply bridge implementation to provide just a static configuration 2017-05-10 19:06:38 +02:00