overlay: replace systemd drop-in with an environment file

Now that /etc/default/repowerd is available, let's use that instead of
a drop-in file which requires overlaying a directory.

Fixes: https://gitlab.com/ubports/porting/community-ports/android11/fairphone-4/fairphone-fp4/-/issues/60
This commit is contained in:
Ratchanan Srirattanamet
2022-12-24 02:57:14 +07:00
parent d67193dcfc
commit 14566a61f0
3 changed files with 3 additions and 5 deletions

View File

@@ -0,0 +1,3 @@
# Android lights HAL is present, but does not work correctly with repowerd
REPOWERD_BACKLIGHT_BACKEND=sysfs
REPOWERD_DISABLE_BOOSTER=true

View File

@@ -1 +0,0 @@
Temporary until /etc/default/repowerd is available.

View File

@@ -1,4 +0,0 @@
[Service]
# Android lights HAL is present, but does not work correctly with repowerd
Environment=REPOWERD_BACKLIGHT_BACKEND=sysfs
Environment=REPOWERD_DISABLE_BOOSTER=true