Files
omarchy-pkgs/pkgbuilds/omarchy-ane-dkms/omarchy-ane-dkms.install
T
Joshua Warren 8e5c2d2a8b omarchy-ane-dkms: ANE on by default on T6021
omarchy-ane removed omarchy-ane-m2-enable and the modprobe gate
packaging/modprobe/ane_t6021.conf, and added 90-omarchy-ane-firmware.hook,
which fetches the T6021 firmware after each install and upgrade
(omarchy-ane receipts/2026-10-01-t6021-default-on).

- package(): install the firmware hook; drop omarchy-ane-m2-enable, the gate
  file and its backup=() entry. On upgrade pacman deletes an unchanged gate
  file; a changed one becomes ane_t6021.conf.pacsave, which modprobe does not
  read (it reads only *.conf).
- post_remove: remove both firmware files that omarchy-ane-firmware-fetch
  writes (T602x and T8112). Drop the ane-t6021 opt-in edit: no overlay reads
  that key now.
- The overlay comment names /usr/share/omarchy-platform/dtb-overlays.
2026-10-01 18:49:47 -05:00

8 lines
354 B
Plaintext

# omarchy-ane-firmware-fetch writes the ANE firmware (90-omarchy-ane-firmware.hook
# on T6021, by hand on T6020, T6022 and T8112). pacman does not own it.
post_remove() {
rm -f /usr/lib/firmware/apple/ane/t602x_ane0_fw_selene_rc4x.macho \
/usr/lib/firmware/apple/ane/h14_ane_fw_bia_j4xx.macho
rmdir /usr/lib/firmware/apple/ane 2>/dev/null || :
}