Commit graph

979 commits

Author SHA1 Message Date
Marius Gripsgard
7cc6fb44d9 Change option var to ENABLE_WAYLAND 2018-08-21 12:07:32 +02:00
Marius Gripsgard
75f5a8f6ab Change option var to ENABLE_TOUCH_INPUT 2018-08-21 12:07:32 +02:00
Marius Gripsgard
2b3c1f1e2d Change option var to ENABLE_MIR 2018-08-20 17:19:17 +02:00
Marius Gripsgard
b0779c0cb6 Add enable mir option (default disabled) 2018-08-20 17:19:17 +02:00
Simon Fels
e7de965e40 cmds: add cpu whitelist for features check
Not all CPUs can be detected with their correct feature set. For example
does cpu_features not work well enough when the support does not support
AVX (see https://github.com/google/cpu_features/issues/4). To mitigate
this we maintain a list of whitelisted CPU models.
2018-08-16 07:47:03 +02:00
Marius Gripsgard
24bd4f69a1 Do application reset on first store_or_update 2018-08-16 07:15:08 +02:00
Simon Fels
385150ab6b
Merge pull request #864 from ubports/desktop-subdir-env
Add ANBOX_NO_DESKTOP_SUBDIR env
2018-08-16 06:59:24 +02:00
Simon Fels
2117b3bd0e
Merge branch 'master' into desktop-subdir-env 2018-08-16 06:33:03 +02:00
Simon Fels
66c5a273b5
Merge pull request #863 from ubports/wayland-disable-option
Add option to enable/disable wayland
2018-08-16 06:32:29 +02:00
Marius Gripsgard
3d3055e2de Just remove desktop/icon files starting with anbox- 2018-08-16 02:51:49 +02:00
Marius Gripsgard
e11afb46de Add ANBOX_NO_DESKTOP_SUBDIR env
This makes anbox place applications in the main application folder

This is mostly a hack for ubuntu touch
2018-08-16 02:48:48 +02:00
Marius Gripsgard
3fff3cad6c Add option to enable/disable wayland 2018-08-16 02:35:07 +02:00
Simon Fels
4c6a7dc116
Merge pull request #857 from morphis/disable-touch-input
sdl: disable touch input support by default
2018-08-10 21:16:32 +02:00
Simon Fels
348ff8a320 sdl: disable touch input support by default
It looks like that the Android system gets confused when both a pointer
and an touch based input device are connected to the system. As touch
support is so far only used Ubports we can keep it disabled for the
snap version but provide a configuration switch to enable it again.
2018-08-10 20:55:01 +02:00
Simon Fels
37818f27f4
Merge pull request #855 from morphis/correct-id-map
container: correctly calculate uid/gid maps
2018-08-10 09:24:34 +02:00
Simon Fels
1703ec0a3b
Merge branch 'master' into correct-id-map 2018-08-10 07:33:58 +02:00
Simon Fels
82a1abc8cc container: correctly calculate uid/gid maps
We were calculating the first range towards the ID of the executing user
which is wrong if we want to map the current user to id 1000 inside the
container. This corrects the code to calculate the first range until
1000-1, assigns 1000 to the current user and then continues to assign
1000+1 to the rest of the high-range ids we have allocated.
2018-08-10 07:15:40 +02:00
Simon Fels
2df7162691
Merge pull request #850 from morphis/dont-check-cpu-features-on-qemu
cmds: ignore cpu feature check on QEMU
2018-08-10 07:13:35 +02:00
Simon Fels
b40c42a28f
Merge branch 'master' into dont-check-cpu-features-on-qemu 2018-08-10 07:04:38 +02:00
Simon Fels
ad128b32d4
Merge pull request #852 from morphis/dont-disable-screensaver
sdl: don't prevent screensaver to systems to suspend properly
2018-08-08 11:28:09 +02:00
Simon Fels
72e0f24c09 sdl: don't prevent screensaver to systems to suspend properly 2018-08-08 10:43:45 +02:00
Simon Fels
41febe8f75 cmds: ignore cpu feature check on QEMU
The cpu_features library doesn't work well enough on QEMU so we skip the
test on any QEMU branded CPU.
2018-08-07 16:08:06 +02:00
Simon Fels
2dea391b24
Merge pull request #844 from morphis/make-bridge-configurable
Make network bridge configurable
2018-08-03 17:51:21 +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
b5ea0b4d7f
Merge pull request #832 from morphis/generate-zip-instead-of-tar
Generate zip instead of a tarball
2018-07-24 04:18:50 -04:00
Simon Fels
e135277a10
Merge branch 'master' into generate-zip-instead-of-tar 2018-07-23 13:08:34 -04:00
Simon Fels
fee8751d09
Merge pull request #831 from morphis/improve-cpu-check-error-msg
cmds: improve error message for unsupported CPU features
2018-07-23 13:08:12 -04: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
3f661ca0e7
Merge branch 'master' into improve-cpu-check-error-msg 2018-07-23 11:14:08 -04:00
Simon Fels
bcb3701a97 cmds: improve error message for unsupported CPU features 2018-07-23 17:03:04 +02:00
Simon Fels
a9621db187
Merge pull request #830 from morphis/add-wayland-support
sdl: take native window and display for wayland from SDL
2018-07-23 10:57:07 -04:00
Simon Fels
1a5c19ec51 sdl: take native window and display for wayland from SDL 2018-07-23 16:37:54 +02:00
Simon Fels
00a809b1ba
Merge pull request #828 from morphis/drop-kmod-control
snap: drop unnecessary kernel-module-control plug
2018-07-20 09:25:02 -04:00
Simon Fels
9963ddb72c snap: drop unnecessary kernel-module-control plug 2018-07-20 08:43:52 -04:00
Simon Fels
6b5c12e05f
Merge pull request #826 from morphis/update-android-img
Update Android image to newer one with bug fixes
2018-07-19 23:46:27 -04:00
Simon Fels
bd174b89e2
Merge branch 'master' into update-android-img 2018-07-19 23:37:20 -04:00
Simon Fels
baedea8dcb
Merge pull request #827 from morphis/snap-confinement-phase1
Initial support for full snap confinement
2018-07-19 23:30:45 -04:00
Simon Fels
2b83d922fe snap: patch lxc with minor patch for Anbox specific Apparmor child profile handling 2018-07-19 22:38:36 -04:00
Simon Fels
71772c7a43 snap: upgrade to lxc 3.0.1 2018-07-19 22:38:06 -04:00
Simon Fels
82e9cbc43e Enable snap confinement support conditionally 2018-07-19 22:37:46 -04:00
Simon Fels
643ede2b90 container: use cgroup snap-confine already setup 2018-07-19 22:22:03 -04:00
Simon Fels
120ba1c701 snap: add set of plugs and slots necessary for confinement 2018-07-19 22:21:28 -04:00
Simon Fels
60e7dc79c8 scripts: don't setup a dedicated AppArmor profile anymore 2018-07-19 22:20:09 -04:00
Simon Fels
fc3817381d Update Android image to newer one with bug fixes 2018-07-19 22:13:49 -04:00
Simon Fels
bc2cf304b7
Merge pull request #824 from morphis/check-for-features-on-install
Check for mandatory CPU features on install
2018-07-18 15:06:52 -04:00
Simon Fels
d79d7be9f6 cmds: fix cpu feature listing for system information output 2018-07-18 14:45:40 -04:00
Simon Fels
4b39459253 cmds: add command to check for mandatory CPU features 2018-07-18 14:45:40 -04:00
Simon Fels
5909a0671d
Merge pull request #822 from morphis/fix-egl-query
cmds: correctly query EGL for its features
2018-07-18 14:18:09 -04:00