device-xiaomi-scorpio: Add RMTFS to runlevel default (MR 2283)
Having RMTFS at runlevel boot makes it start the modem too fast and causes crashes. Move it to runlevel default with a post-install. [ci:skip-build] already built successfully in CI
This commit is contained in:
parent
37a4121e08
commit
b627285177
2 changed files with 7 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
pkgname=device-xiaomi-scorpio
|
||||
pkgdesc="Xiaomi Mi Note 2"
|
||||
pkgver=2
|
||||
pkgrel=0
|
||||
pkgrel=1
|
||||
url="https://postmarketos.org"
|
||||
license="MIT"
|
||||
arch="aarch64"
|
||||
|
@ -44,6 +44,7 @@ nonfree_firmware() {
|
|||
linux-firmware-qca
|
||||
soc-qcom-msm8996-nonfree-firmware
|
||||
"
|
||||
install="$subpkgname.post-install"
|
||||
mkdir "$subpkgdir"
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Delay modem powerup to avoid crashing
|
||||
rc-update del rmtfs boot
|
||||
rc-update add rmtfs default
|
Loading…
Reference in a new issue