Commit graph

968 commits

Author SHA1 Message Date
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
Simon Fels
645841d739 cmds: correctly query EGL for its features 2018-07-18 14:02:08 -04:00
Simon Fels
766bff9ddc
Merge pull request #816 from megies/patch-1
Update install.md
2018-07-18 13:51:01 -04:00
Tobias Megies
822c50479b
Update install.md 2018-07-14 11:06:08 +02:00
Simon Fels
31d5228209
Merge pull request #815 from zhsj/device-mode
lxc: encode device permission into configuration
2018-07-13 09:15:48 +02:00
Shengjing Zhu
3d05266cae lxc: encode device permission into configuration
Closes: #804
Signed-off-by: Shengjing Zhu <i@zhsj.me>
2018-07-13 15:05:24 +08:00
Simon Fels
04469cd38b
Merge pull request #813 from zhsj/fix-switch-default
external: set Wno-error=switch-default in backward-cpp
2018-07-11 10:50:42 +02:00
Simon Fels
c55c6c9519
Merge branch 'master' into fix-switch-default 2018-07-11 10:27:30 +02:00
Shengjing Zhu
999751f4a2 external: set Wno-error=switch-default in backward-cpp
Closes: #810
Signed-off-by: Shengjing Zhu <i@zhsj.me>
2018-07-11 16:17:53 +08:00
Simon Fels
b2922b0059
Merge pull request #811 from zhsj/fix-overlay
fix overlay lowerdir order
2018-07-11 10:12:22 +02:00
Shengjing Zhu
32a16fa5db fix overlay lowerdir order
kernel document says:

Multiple lower layers can now be given using the the colon (":") as a
separator character between the directory names.  For example:

  mount -t overlay overlay -olowerdir=/lower1:/lower2:/lower3 /merged

As the example shows, "upperdir=" and "workdir=" may be omitted.  In
that case the overlay will be read-only.

The specified lower directories will be stacked beginning from the
rightmost one and going left.  In the above example lower1 will be the
top, lower2 the middle and lower3 the bottom layer.

The user directory should be on top, so that user can override the file
in original rootfs image.

Signed-off-by: Shengjing Zhu <i@zhsj.me>
2018-07-11 13:32:56 +08:00
Simon Fels
d013c8e41e
Merge pull request #806 from zhsj/clean-up-1
cleanup: remove DBUS_CPP_*
2018-07-09 11:36:32 +02:00