]> glassweightruler.freedombox.rocks Git - waydroid.git/commit
Add an optional [properties] in waydroid.cfg
authorChristophe Chapuis <chris.chapuis@gmail.com>
Sat, 27 Nov 2021 14:59:13 +0000 (14:59 +0000)
committerErfan Abdi <erfangplus@gmail.com>
Mon, 10 Jan 2022 05:35:17 +0000 (09:05 +0330)
commitd841942af9debd51e45a44a6df6a7ca2339c1cc3
tree0f74ae62e909d06756b704dba0a5b80f9f55f168
parent0f64f618e6f9866057c5ab08cae88ee714689ae5
Add an optional [properties] in waydroid.cfg

On some platforms, like a VM, we don't have the "getprop" android
utility available. It could be, also, that the default values
for some properties don't match the target device.

With this PR, one can add a [properties] section in waydroid.cfg,
that will act as an override for the values that would have been
put otherwise.

Example, on our LuneOS x86 VM:
[properties]
ro.hardware.gralloc=default
ro.hardware.egl=mesa

A minimal waydroid.cfg could even be shipped with waydroid, and
the rest of the configuration will be filled with "waydroid init".

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
tools/config/load.py
tools/helpers/lxc.py