image completeness: fp6-no-suspend + imsd boot enablement
Two device-critical pieces previously applied only by the dev restore script: masked sleep targets (idle-suspend resets the WCN combo firmware and kills wifi ~40min - a device defect, not personalization) and imsd enabled at boot, gated on /etc/imsd.env existing so unconfigured systems don't boot a failing unit. A stranger now needs exactly: flash, wifi via UI, write imsd.env, restart imsd. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
283996b507
commit
05cd1084b7
5 changed files with 40 additions and 2 deletions
21
aports/device/fp6-no-suspend/APKBUILD
Normal file
21
aports/device/fp6-no-suspend/APKBUILD
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# The FP6's wifi and BT share the WCN combo chip; systemd idle-suspend (and
|
||||
# BT-off) resets the shared firmware and kills wifi for ~40 minutes. Mask
|
||||
# the sleep targets declaratively - shipped as /dev/null symlinks, the same
|
||||
# state 'systemctl mask' produces.
|
||||
maintainer="Jorijn van der Graaf <jorijnvdgraaf@catcrafts.net>"
|
||||
pkgname=fp6-no-suspend
|
||||
pkgver=1
|
||||
pkgrel=0
|
||||
pkgdesc="Mask systemd sleep targets (suspend kills wifi on the FP6)"
|
||||
url="https://forgejo.catcrafts.net/Catcrafts/fp6-img"
|
||||
arch="noarch"
|
||||
license="MIT"
|
||||
options="!check"
|
||||
|
||||
package() {
|
||||
for t in sleep suspend hibernate hybrid-sleep; do
|
||||
mkdir -p "$pkgdir/etc/systemd/system"
|
||||
ln -s /dev/null "$pkgdir/etc/systemd/system/$t.target"
|
||||
done
|
||||
}
|
||||
sha512sums=""
|
||||
Loading…
Reference in a new issue