1
0
This repository has been archived on 2024-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
Lakka-rk322x/packages/sysutils/busybox/system.d/rpi-flash-firmware.service
Matthias Reichl 8f1344f6fd Move kernel overlays setup to init
When running kernel-overlays-setup as a systemd service we have
a short window where /lib/firmware isn't available.

This causes drm edid override to occasionally fail if the edid file
is requested between switching to sysroot and completion of the
kernel-overlays-setup script.

Setting up firmware and module overlays in init, before switching
to sysroot, closes the gap and also has the benefit that we no longer
need to care about the rather tedious systemd unit ordering.

Signed-off-by: Matthias Reichl <hias@horus.com>
2021-02-08 16:16:17 +01:00

13 lines
302 B
Desktop File

[Unit]
Description=RPi Flash Firmware
Requires=tmp.mount var.mount sys-kernel-config.mount
After=tmp.mount var.mount sys-kernel-config.mount
DefaultDependencies=no
[Service]
Type=idle
ExecStart=/usr/lib/libreelec/rpi-flash-firmware
StandardInput=tty-force
StandardOutput=inherit
StandardError=inherit