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>
14 lines
246 B
Desktop File
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
|