Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/omamobile-device-cheetah/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ arch=(aarch64)
url="https://github.com/derekross/omarchy-mobile"
license=(MIT Apache-2.0)
depends=(bash systemd util-linux omamobile-keyring i2c-tools)
# Keep CPIF and its link driver behind the modem's guarded startup.
provides=(omamobile-modem-policy)
backup=(etc/pacman.d/omamobile-mirrorlist)
install=omamobile-device-cheetah.install
optdepends=('omamobile-boot-update: writes kernel package updates to slot B from the boot files this package ships')
Expand Down
2 changes: 1 addition & 1 deletion packages/omamobile-device-cheetah/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.38
0.1.39
2 changes: 1 addition & 1 deletion packages/omamobile-device-tegu/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ arch=(aarch64)
url="https://github.com/derekross/omarchy-mobile"
license=(MIT)
depends=(bash systemd kmod bluez-utils omamobile-keyring)
provides=(omamobile-device)
provides=(omamobile-device omamobile-modem-policy)
conflicts=(omamobile-device)
backup=(etc/pacman.d/omamobile-mirrorlist)
install=omamobile-device-tegu.install
Expand Down
6 changes: 6 additions & 0 deletions packages/omamobile-device-tegu/test/all
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ for absent in usr/bin/omamobile-boot-success usr/bin/omamobile-bootctl \
done
pass "install stages the package, enables only the guards, and nothing that marks a slot"

for m in cpif shm_ipc pcie_gs201_cp; do
grep -qx "blacklist $m" "$tmp/root/usr/lib/modprobe.d/omamobile-tegu-guards.conf" \
|| fail "the modem policy must prevent $m from autoloading"
done
pass "the modem drivers stay behind their guarded startup"

# Every driver the graphics guard loads is kept from autoloading (gs_dsim_cmd
# aside: it autoloads from its node and sends nothing until allow_tx is on,
# which only the guard sets), and nothing in modprobe.d would break the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ blacklist pcie_gs201
blacklist phy_zuma_pcie
blacklist brcmfmac
blacklist nxp_nci_i2c

# Modem policy: only the attended modem startup may load CPIF and its link.
# Installing the runtime must not let a DT node start these at boot.
blacklist cpif
blacklist shm_ipc
blacklist pcie_gs201_cp
2 changes: 1 addition & 1 deletion packages/omamobile-device-tegu/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.7
0.2.8
2 changes: 1 addition & 1 deletion packages/omamobile-modem/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ pkgdesc="Omarchy Mobile modem runtime for the Pixel 7 Pro: stock rfsd and cbd in
arch=(aarch64)
url="https://github.com/derekross/omarchy-mobile"
license=(MIT)
depends=(bash python util-linux coreutils kmod systemd omamobile-gnss omamobile-device-cheetah)
depends=(bash python util-linux coreutils kmod systemd omamobile-gnss omamobile-modem-policy)
install=omamobile-modem.install

check() {
Expand Down
2 changes: 1 addition & 1 deletion packages/omamobile-modem/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.10
0.1.11