pmaports/device/community/device-nokia-n900/device-nokia-n900.pre-upgrade
Sicelo A. Mhlongo 7495be948b
device-nokia-n900: block non-critical modules (MR 4227)
* modem-related modules seem partly responsible for recent l3 firewall
     timeouts and kernel crashes.
 * rx51-battery can be used to get battery design capacity, but not required
    for general running of the system blacklist other
 * modules that can impact power consumption on the N900

Completely disabling the modules in kernel config is unnecessary, since they
are all useful for some users

[ci:skip-build]: already built successfully in CI
2023-07-06 07:30:03 +02:00

10 lines
183 B
Bash

#!/bin/sh
postmarketos-mvcfg-pre-upgrade \
device-nokia-n900 \
/etc/conf.d/hwclock
postmarketos-mvcfg-pre-upgrade \
device-nokia-n900-v2 \
/etc/modules-load.d/nokia-modem.conf