Mirror some of the changes to the Pixel 3a:
device-google-sargo: add sensors support (MR 5329)
google-sargo: add gpi to modules-initfs to fix fde (MR 5347)
google-sargo: do not enable HexagonRPCD on every upgrade (MR 5400)
google-sargo: stop HexagonRPCD on suspend (MR 5400)
google-sargo: make necessary userspace changes for kernel v6.10.2
device-google-sargo: remove nonfree_firmware subpkg (MR 6107)
device-google-sargo: Fix hexagonrpcd on systemd (MR 6147)
device-google-sargo: install hexagonrpcd conf to new location (MR 6217)
device/*: explicitly depend on openrc if install scripts call rc-update
Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6718
10 lines
281 B
Bash
10 lines
281 B
Bash
#!/bin/sh
|
|
|
|
if [ "$1" = "pre" ]
|
|
then
|
|
# If HexagonRPCD listens for a remote method call while the device is
|
|
# waking up, the DSP may crash. Assume that HexagonRPCD has fulfilled
|
|
# all incoming remote method invocations, and stop it.
|
|
rc-service hexagonrpcd-adsp-sensorspd stop
|
|
fi
|