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:
Yassine Oudjana 2021-06-28 08:23:04 +04:00 committed by Clayton Craft
parent 37a4121e08
commit b627285177
No known key found for this signature in database
GPG key ID: 7A3461CA187CEA54
2 changed files with 7 additions and 1 deletions

View file

@ -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"
}

View file

@ -0,0 +1,5 @@
#!/bin/sh
# Delay modem powerup to avoid crashing
rc-update del rmtfs boot
rc-update add rmtfs default