Files
pmaports-rtwo/device/community/wl1251-cal/wl1251-cal.service
T
Sicelo A. Mhlongo 52f23a780c wl1251-cal: extract nvs to /run
Running the service for wl1251-cal before udev is partly responsible for very
slow boot observed on the N900 when using systemd. This is likely because of
the dependency on /lib/firmware.

Provide the NVS in /run instead, an idea borrowed from msm-firmware-loader. It
is safe to permanently overwrite the user-defined firmware search path since
the N900 does not need firmware that would be expected to be in
/lib/firmware/postmarketos.

Signed-off-By: Sicelo A. Mhlongo <absicsz@gmail.com>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7234>
2025-10-28 09:32:20 +00:00

14 lines
246 B
Desktop File

[Unit]
Description=Extract wl1251 calibration data
RequiresMountsFor=/sys /dev
Before=systemd-udevd.service
DefaultDependencies=no
[Service]
Type=oneshot
ExecStart=/usr/bin/calibrate-wl1251
RemainAfterExit=yes
[Install]
WantedBy=sysinit.target